Permission Methods¶
-
rucio.api.permission.
has_permission
(issuer, action, kwargs)[source]¶ Checks if an account has the specified permission to execute an action with parameters.
Parameters: - issuer – The Account issuer.
- action – The action (API call) called by the account.
- kwargs – List of arguments for the action.
Returns: True if account is allowed to call the API call, otherwise False