isAllowed
query
Check permission
Checks if a specific action on a resource is allowed for the given company. Used for access control validation.
query {
isAllowed(companyId: Int!, resource: String!, action: String): Allowed
}Returns: Allowed
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
resource | String! | |
action | String |