Interface to be implemented by an additional authorization provider, which is loaded from a user-provided module. Every loaded authorization provider further restricts the default access rights.
More...
#include <IAuthorizationProvider.hpp>
Interface to be implemented by an additional authorization provider, which is loaded from a user-provided module. Every loaded authorization provider further restricts the default access rights.
◆ SessionHasPermissionOnObject()
virtual boolean Arp::System::Um::Commons::IAuthorizationProvider::SessionHasPermissionOnObject |
( |
const String & |
objectName, |
|
|
Operation |
operation, |
|
|
SessionInfo & |
session |
|
) |
| |
|
pure virtual |
This is called only if the default authorization check on the session returns true, in which case the loaded authorization provider may further restrict access rights.
- Parameters
-
objectName | Object name as mentioned in permission configuration files, it identifies the object on which the operation is intended to be performed. |
operation | Operation as mentioned in permission configuration files |
session | Session meta info |
- Returns
- Returns
false
if the permission should be blocked by this provider.
The documentation for this class was generated from the following file: