public final class PermissionManager extends Object implements IPermissionManager
To optimize work the object contains cache.
EDITOR, READER| Constructor and Description |
|---|
PermissionManager(ICelesta celesta,
ru.curs.celesta.dbutils.adaptors.DBAdaptor dbAdaptor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActionAllowed(CallContext c,
GrainElement t,
Action a)
Returns
true if action is allowed on a grain element. |
public PermissionManager(ICelesta celesta, ru.curs.celesta.dbutils.adaptors.DBAdaptor dbAdaptor)
public boolean isActionAllowed(CallContext c, GrainElement t, Action a)
true if action is allowed on a grain element.isActionAllowed in interface IPermissionManagerc - call contextt - grain elementa - actionCopyright © 2020 CURS. All rights reserved.