Access Control API

POST /api/access-control/v2/entry/group

Permission group set

It sets permission group for given entity (ppms/user or ppms/app).

Status Codes:
GET /api/access-control/v2/entry/{entity}/action/{action}

Entity actions for users

Returns users with granted permissions (actions) to given entity.

Parameters:
  • entity (string) – entity
  • action (string) – Action of the entity
Status Codes:
GET /api/access-control/v2/global/actions

Global actions

It gets actions without specific entity context for given user.

Status Codes:
GET /api/access-control/v2/entry/{entity_id}

Entity actions

Returns granted permissions (actions) to given entity for current user.

Parameters:
  • entity_id (string) – UUIDv4 identifier of given entity
Status Codes:
GET /api/access-control/v2/entry/groups/{entity}/{entity_id}

Permission groups

Returns permission groups that have masks which are a subset of permission mask for entries of given type.

Parameters:
  • entity (string) – entity
  • entity_id (string) – UUIDv4 identifier of given entity
Query Parameters:
 
  • limit (integer) – Number of results set returned
  • offset (integer) – The number of items to skip before starting to collect the result set
Status Codes: