It may be useful to add some methods to deal with permissions API. For exemple, user may want to:
- list current permissions of the application
GET /permissions/self
- get permissions on a document
POST /permissions/exists
- create tokens for reduced set of permissions
POST /permissions
- update permission set
PATCH /permissions/:id
It may be useful to add some methods to deal with permissions API. For exemple, user may want to:
GET /permissions/selfPOST /permissions/existsPOST /permissionsPATCH /permissions/:id