Package ru.curs.celesta.dbutils
Interface IPermissionManager
-
- All Known Implementing Classes:
PermissionManager
public interface IPermissionManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isActionAllowed(CallContext c, GrainElement t, Action a)
Whether the action is allowed.
-
-
-
Field Detail
-
EDITOR
static final String EDITOR
Role name that has rights to edit all tables.- See Also:
- Constant Field Values
-
READER
static final String READER
Role name that has rights to read from all tables.- See Also:
- Constant Field Values
-
-
Method Detail
-
isActionAllowed
boolean isActionAllowed(CallContext c, GrainElement t, Action a)
Whether the action is allowed.- Parameters:
c
- call contextt
- tablea
- action type- Returns:
-
-