Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

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

Page version:

Page info
infoTypeCurrent version
dateFormatdd MMMM yy - hh:mm aa
count1
page@self
typeFlat
, last updated:
Page info
infoTypeModified date
dateFormath:mmaa, dd-MMM-yy
count1
page@self
typeFlat



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.

Payload should include securable type id or name. Using both causes ambiguity in the Consumer API which will not try to set any priority over which one to use and return a Bad Request (400) HTTP status.

Code Block
languagejs
titleExample Request - securable type id
{
    "OperationName":"Operation",
    "SecurableTypeId":8
}


Code Block
languagejs
titleExample Request - securable type name
{
    "OperationName":"Operation",
    "SecurableTypeName":"SecurableType"
}


  • 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