User Role Management APIs Authorization Action Resource

Resource deals with the Authorization Action in the BA Platform. This service validates if a current user is authorized to perform a specific action.

Validate user authorization

get

Validates if a current user is authorized to perform a specific action.

Example Request:

GET pentaho/api/authorization/action/isauthorized

cURL Example:

curl -X GET \
  "http://localhost:8080/pentaho/api/authorization/action/isauthorized?authAction=org.pentaho.repository.read" \
  -H "Authorization: Basic YWRtaW46cGFzc3dvcmQ="

Example Response:

false

Returns: A boolean response based on the current user being authorized to perform a specific action within the system.

Authorizations
Query parameters
authActionstringRequired

Authorization Action to be validated for the current user

Example: org.pentaho.repository.read
Responses
200

Returns a boolean response

text/plain
Responsestring

Boolean value indicating authorization status

get
/authorization/action/isauthorized
GET /authorization/action/isauthorized?authAction=org.pentaho.repository.read HTTP/1.1
Host: 
Authorization: Basic username:password
Accept: */*
200

Returns a boolean response

false

Was this helpful?