Package ru.curs.celesta.dbutils
Class PermissionManager
java.lang.Object
ru.curs.celesta.dbutils.PermissionManager
- All Implemented Interfaces:
IPermissionManager
Permission manager. It determines if a user has rights for operations with a table.
The rights are defined by contents of the system tables for access rights distribution.
To optimize work the object contains cache.
-
Field Summary
Fields inherited from interface ru.curs.celesta.dbutils.IPermissionManager
EDITOR, READER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActionAllowed(CallContext c, GrainElement t, Action a) Returnstrueif action is allowed on a grain element.
-
Constructor Details
-
PermissionManager
-
-
Method Details
-
isActionAllowed
Returnstrueif action is allowed on a grain element.- Specified by:
isActionAllowedin interfaceIPermissionManager- Parameters:
c- call contextt- grain elementa- action- Returns:
-