For the complete documentation index, see llms.txt. This page is also available as Markdown.

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
AuthorizationstringRequired

HTTP Basic Authentication

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
stringOptional

Boolean value indicating authorization status

get/authorization/action/isauthorized
200

Returns a boolean response

Last updated

Was this helpful?