authorization

Authorize a user to perform an action on a resource

Given an array of actions, a resource and an authenticated user this endpoint will return an array of hashes with the actions and boolean indicating if the user can perform the action on the resource. The method relies on the Recollect::Authorize::authorize_me method which is a re-implementation of Adminable::user_can_do.

post/authorize/me

Request

  • Base URL: https://api.recollect.net/api
  • URL: https://api.recollect.net/api/authorize/me
  • Auth: none declared

Response

200 OK - the request was successful

Changes

No recorded changes to this operation across all 1 revision of this API.