Version: 15
restore

Contents

Entity - Role Based Access Control - Interrogates the SecurableType table in the database

VerbRequestNotesPermissions Required
GET - by securable type id/Consumer/ApplicableOperations /SecurableTypeId/{securableTypeId}Gets list of all available applicable operations for the securable type by its id
  • Read

Returns Unauthorized (401) if user does not have the required permissions.

GET - by securable type name/Consumer/ApplicableOperations /SecurableTypeName/{securableTypeName}Gets list of all available applicable operations for the securable type by its name
  • Read

Returns Unauthorized (401) if user does not have the required 

POST/Consumer/ApplicableOperations

Creates an applicable operation. Request payload:

Request Payload - securable type id
{
    "OperationName":"Operation",
    "SecurableTypeId":8
}

Or

Request Payload - securable type name
{
    "OperationName":"Operation",
    "SecurableName":"SecurableType"
}

Either securable type id or name can be used. Using both causes ambiguity in the Consumer API which will not try to set any priority over which one to use and returns a Bad Request (400) HTTP status.

  • Write

Returns Unauthorized (401) if user does not have the required 

DELETE/Consumer/ApplicableOperations/{id}Deletes applicable operation by id
  • Write

Returns Unauthorized (401) if user does not have the required