Re: [db-wg] The New "organisation object" Proposal
Hi Ulrich, Notifications is becoming a complex issue in itself now. In the case you mentioned below, the notify: in the mntner is only used if the mntner object itself is modified. There is a close relationship now between the mnt-nfy: and the proposed ref-nfy:, but they are not the same thing. If you successfully modify a person object by adding a mntner into a mnt-by: then the mnt-nfy: would be notified about a successful modification and also the ref-nfy: will be notified because the mntner has been referenced. However, consider the case where an inetnum object is modified by adding a mntner into a mnt-lower:. In this case the ref-nfy: will be notified because the mntner has been referenced. But the mnt-nfy: of the referenced mntner will NOT be notified in this case. The mnt-nfy: of the mntner in the inetnum's mnt-by: will also be notified of a successful modification, but this may not be the same mntner as the one referenced in the mnt-lower:. I think we will need to write a small document explaining all the notification rules. We need to think carefully about who is notified and when and we wrote the code to apply these rules. So I think it will be very confusing to a new user of the database. cheers denis Ulrich Kiermayr <ulrich.kiermayr@univie.ac.at> writes: * Hi Denis, * * > [snip] * > * > It may be a bit of an overkill to add mnt-ref: to the mntner: as in * > most cases people would probably make it refer to itself, although it * > would be consistent. Another option to prevent un-authorised use * > (malicious or accidental) of a mntner is to require the mntner's own * > authorisation to be provided whenever it is added to an object. * * I agree, that it looks like an overkill, but I'd prefer to see a * consistent behaviour among all the objects. [I cold also imagine cases, * where they might as well differ]. On the other hand i could also imagine * a fallback-scheme like in the mnt-lower: if no mnt-ref, them use the * mntner itself or so.... * * One thing i have not checked: Is a ref-nfy in a mntner redundant * informaiton (e.g already coverd by notify there)? * * lG uk * -- * Ulrich Kiermayr Zentraler Informatikdienst der Universitaet Wien * Network/Security Universitaetsstrasse 7, 1010 Wien, Austria * * eMail: ulrich.kiermayr@univie.ac.at Tel: (+43 1) 4277 / 14104 * Fax: (+43 1) 4277 / 9140 *
participants (1)
-
Denis Walker