I've simple Django project. i need to implement extended permissions to this project.
the new permissions i'm looking to achieve:
1- Add "view" permission, so user can view but not edit. (in addition to default permissions add/edit/delete)
2- Add custom field to user profile to select assign him to city, cities, or all (will be explained later).
3- Add 3 levels of users (groups?):
3-a- Contributor: Contributor can add content / edit his own content, he cannot see content submitted by other contributors. when submitting content, the content will be assigned to next user level: Editor. when the content assigned to Editor, the Contributor doesn't have access to that content anymore.
3-b- Editor: Editor can view/edit content submitted by Contributor, the limitation between Contributor and Editor is subject to "City" field. so the Editor will only have access to content submitted by Contributor has the same city.
John is contributor in "New York" city, John will submit...