Talk:PubMan Func Spec Organizational Unit Management

From MPDLMediaWiki
Revision as of 09:49, 7 December 2007 by Natasab (talk | contribs)
Jump to navigation Jump to search
  • assign parent to an organizational unit in status "new"
    • parent must be in status "opened" or "new"
  • assign parent to an organizational unit in status "open"
    • parent must be in status "opened"
  • assign parent to an organizational unit in status "closed"
    • not allowed
  • assign children to an organizational unit in status "new"
    • children must be in status "new"
  • assign children to an organizational unit in status "closed"
    • not allowed
  • assign children to an organizational unit in status "opened"
    • children must be in status "new" or "opened"


  • open organizational unit
    • if parents exist, parents must be in status "opened"
    • if children exist, no effects to children
  • close organizational unit
    • if children in status "opened" the operation should not be allowed (or previously should be assigned to a new parent by the client solution)
    • if children in status "new" exist the operation should not be allowed (client solution should decide what it needs to do with these children)
    • if children is status "closed" only exist the operation should be allowed
  • delete organizational unit
    • can be deleted if in status "new" and if no children exist


Clarification of statusses:

  • NEW - organizational unit is created in the system, users have several possibilities to edit it, it is still not considered as a resource that can be used to relate it to other resources in the system (except in cases stated above, assign parents, assign children). In other words, new organizational units are visible only internally within the "Organizational unit handler" and the solution that manages organizational units.
  • OPENED - organizational unit is valid it is used by the system, can be related to other resources in the system (i.e. to users, contexts etc)
  • CLOSED - organizational unit is closed (it officially does not exist any longer, it is visible as in case of "OPENED" but it can not be related to "new resources" or new relations can not be created to existing resources).