I am using parse.com as a backend for my android application. I need help to solve the following scenario. I wanna do some access control. The app will consists of the following users say Super Admin, Admin, Moderator and Editors. The Super Admin can create a number of Admins(each admin has its own group), where as the Admin can create Moderator and Editors. Now i wanna set ACL to these users in which one group cannot be able to read or write data of another group. Is there any simple example for this scenario available.
SUPER ADMIN
|------------------|--------------------|
| | |
ADMIN(Group A) ADMIN(Group B) ADMIN(Group C)
| | |
|-Moderator |-Moderator |-Moderator
| | |
|-Editor1 |-Editor1 |-Editor1
| | |
|-Editor2 |-Editor2 |-Editor2
| |
|-Editor3 |-Editor3