Access Tests
Last modified 3/5/08 SY
God Tests
- All Objects- really have all rights?
- All Groups- really have all groups?
- System management- must be explicitly assigned by user with sys mgmt record access
- If have all objects but not all groups, make sure groups enforced
- If have all groups but not all objects, make sure objects enforced
- Can assign in network reserve areas
Joe LNA Tests
Object Access
- Group
- If have group object access, can add group? And get rights to that group?
- Domain
- can really add domain?
- if create template, what if group is not same as user's group?
- should not be able to add subdomain to domain that is not in the same group
- if subdomain has Allow Names but domain does not, can add nodes?
- if other groups associated, can user remove other groups? can still modify/del?
- name create/modify/delete within domain set by group
- domain modification set by group
- can't change case of domain
- User
- can put user in group that not in?
- if create template, what if group is not same as user's group?
- if user has user rights, can they make themselves a god?
- if user has All Groups access and user rights, user should not be able to change
own record to All Objects (i.e., should not be able to make oneself a god)
- if other groups associated, can user remove other groups? can still modify/del?
- Admin Team
- if create template, what if group is not same as user's group?
- can add user not in same group?
- if other groups associated, can user remove other groups? can still modify/del?
- Network
- if create template, what if group is not same as user's group?
- if have rights to network but not rights to AS, can change AS group?
- if have rights to network but not rights to AS, can move AS?
- if have rights to network but not rights to AS, can add node to AS?
- if have rights to network and node, can use reserved addresses? should not be able to
- if other groups associated, can user remove other groups? can still modify/del?
- MX
- can add mx for node that don't have rights for?
- can add mx for node that one doesn't have special node rights for?
- when deleting node, can delete mx if no rights to mx name or node record?
- Node
- if have rights to advanced but not IPC, can modify node that is both advanced and ipc?
- can create template from a node if no special node rights?
- if use template, what if node's groups are not the same as user's?
- can assign admin team even if in different group
- if other groups associated, can user remove other groups? can still modify/del?
- if no rights to domains of names but right to node, can modify/delete?
- if no rights to domains of names but right to node, can modify names?
- if no rights to Node State, can change Node State? change other fields?
- if rights to Node State, can change Node State?
- if no rights to domains of names, IP address spaces, nodeState, etc, can still delete node?
- if rights to node but no rights to address space, can delete/modify IP?
- rights to move router interfaces
- Advanced Node
- what if no regular node rights?
- if create template, what if group is not same as user's group?
- IPC Node
- what if no regular node rights?
- if create template, what if group is not same as user's group?
- Router Node
- what if no regular node rights?
- if create template, what if group is not same as user's group?
- Template Node
- what if no regular node rights?
- can create template in AS which don't have rights?
- if create template, what if group is not same as user's group?
- System Management
- even if have All Objects, should not have rights to this unless explicit
Deletion Tests
Need to check for graceful execution when deleting an object that other objects are dependent
on. In general, should not be able to delete an object if other objects are dependent on it.
- Group
- Should not be able to delete group if any objects are associated with it.
- Domain
- Should not be able to delete if it has subdomains
- Should not be able to delete if nodes are in the domain
- User
- If delete user, should still show up in "Created By" and "Modified By" fields
- Should not affect admin teams since admin team members are in directory
- Admin Team
- If node is using admin team, should not be able to delete admin team
- Network
- Should not be able to delete if nodes are in any of its address spaces
- Should not be able to delete address spaces if being used
- Node
- Should be prompted about any MX references and given choice to cleanup
- Directory Users
- Supposedly, users never disappear from the directory. However, given
behaviour we've seen, I don't know if I believe it.
- Little O
- Should not be able to delete if in use
- Note department is used by both node and user
- Note location is used by both node and network
THE END