public final class PermissionManager extends Object implements IPermissionManager
To optimize work the object contains cache.
EDITOR, READER| Constructor and Description |
|---|
PermissionManager(ICelesta celesta) |
| 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)
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 © 2022 CURS. All rights reserved.