Where can I find what permissions a user needs to call an Axon.ivy API method? |
In the PublicAPI javadoc the permissions a user needs to call an API method is documented. Like the describtion of the "Parameters" or "Throws" of a method there maybe also a "Security:" part in the method description.
The "Security:" part contains the security rule that is performed before the method is executed. E.g. for
This means that the session that executes the method call must own permission RoleReadName either application wide (first part) or system wide (second part Another example is the security role of
This means that the session that executes the method call either must be:
Next example is method
This means that only internal Axon.ivy code ( How can I assign these permissions if the user is already logged in? Normally the permission can be assigned in the Admin UI of the engine. It is also possible to assign the permission over an API. Have a look at IApplication#getSecurityDescriptor() and ISecurityDescriptor. |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 21.10.2014 at 09:58
Seen: 2,507 times
Last updated: 21.10.2014 at 11:14