Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
Published by Scroll Versions from space WDESIGNER and version 24.0
Info |
---|
Non-static operation. |
Multiexcerpt | ||
---|---|---|
| ||
This operation returns if the current user or specified role is allowed to perform the provided action(s) on the provided resource. |
Interfaces
Based on Current User
isAuthorized( resourceId : String, action : String ) : Boolean
isAuthorized( resourceId : String, actions : String[] ) : Boolean
Based on Specified Role(s)
isAuthorized( resourceId : String, action : String, role : String ) : Boolean
isAuthorized( resourceId : String, action : String, roles : String[] ) : Boolean
isAuthorized( resourceId : String, actions : String[], role : String ) : Boolean
isAuthorized( resourceId : String, actions : String[], roles : String[] ) : Boolean
Parameters
Name | Type | Direction | Description | Allowed Values / Example | |||
---|---|---|---|---|---|---|---|
resourceID | String | in | Specify a service resource, e.g. a process event. | /processname/eventname | |||
action | String | in | Specify one of the actions to check against. | Allowed actions are read, write and list. | |||
actions | Array of String | in | Specify a list of actions to check against.
| ||||
role | String | in | Specify a role to check against (instead of current user). | acme_manager | |||
roles | Array of String | in | Specify a list of roles to check against (instead of current user).
| ||||
Boolean | return | Returns whether the current user resp. provided role(s) is allowed to perform the specified action(s) on the provided resource. | true | Is authorized. | |||
false | Is not authorized. |
Panel | ||
---|---|---|
| ||
|
Panel | ||
---|---|---|
|
Otp | ||
---|---|---|
|
Overview
Content Tools