Tests node members
Add Tests for Node with the Following Rules:
-
Get Node
- The current user is not a member of the node.
-
Delete Node
- The current user is not a member of the node.
- The role does not allow deletion (Manager, Contributor, Collaborator).
-
Update Node
- The current user is not a member of the node.
- The role does not allow updating (Collaborator).
-
Create a Children Node
- The current user is not a member of the node.
- The role does not allow creating a children node (Collaborator).
- Test if the owners of the parent node are automatically added.
-
Create a Node
- Test if a member object is created correctly with the owner status.
Edited by laurent bouri