# 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

> Validates if a current user is authorized to perform a specific action.\
> \
> \*\*Example Request:\*\*\
> \`\`\`\
> GET pentaho/api/authorization/action/isauthorized\
> \`\`\`\
> \
> \*\*cURL Example:\*\*\
> \`\`\`bash\
> curl -X GET \\\
> &#x20; "<http://localhost:8080/pentaho/api/authorization/action/isauthorized?authAction=org.pentaho.repository.read>" \\\
> &#x20; -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.<br>

````json
{"openapi":"3.0.3","info":{"title":"Pentaho Data Integration and Analytics","version":"0.0.1"},"tags":[{"name":"User Role Management APIs - Authorization Action Resource","description":"Resource deals with the Authorization Action in the BA Platform. This service validates if a current user is authorized to perform a specific action."}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"HTTP Basic Authentication"}}},"paths":{"/authorization/action/isauthorized":{"get":{"tags":["User Role Management APIs - Authorization Action Resource"],"summary":"Validate user authorization","produces":["text/plain"],"description":"Validates if a current user is authorized to perform a specific action.\n\n**Example Request:**\n```\nGET pentaho/api/authorization/action/isauthorized\n```\n\n**cURL Example:**\n```bash\ncurl -X GET \\\n  \"http://localhost:8080/pentaho/api/authorization/action/isauthorized?authAction=org.pentaho.repository.read\" \\\n  -H \"Authorization: Basic YWRtaW46cGFzc3dvcmQ=\"\n```\n\n**Example Response:**\n```\nfalse\n```\n\n**Returns:**\nA boolean response based on the current user being authorized to perform a specific action within the system.\n","parameters":[{"name":"authAction","in":"query","required":true,"description":"Authorization Action to be validated for the current user","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a boolean response","content":{"text/plain":{"schema":{"type":"string","description":"Boolean value indicating authorization status"}}}}}}}}}
````


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/rest-api/user-role-management-apis-authorization-action-resource.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
