Open dcharbon opened 4 years ago
Do we want this for the users models as well?
A project
is an rbac context test model. A blog
is associated with a project and is access controlled. The tests verify the test resources can be created and that their access is allowed or denied based on what roles the user has, e.g. an author can create and edit a blog.
A project is an rbac context test model. A blog is associated with a project and is access controlled. The tests verify the test resources can be created and that their access is allowed or denied based on what roles the user has been assigned for that project, e.g. a user with a role assignment for the author role can create and edit a blog entry belonging to that project, but can't do the same for other projects.
These tests should exercise:
And the same for the Role Assignments, Contexts, etc.