public class UserPolicy extends java.lang.Object implements FormPolicy
| Constructor and Description |
|---|
UserPolicy(boolean create,
boolean update) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreate(SessionService p)
Can the current user create
|
boolean |
canUpdate(SessionService p)
Can the current user update
|
public boolean canCreate(SessionService p)
FormPolicycanCreate in interface FormPolicyp - Personpublic boolean canUpdate(SessionService p)
FormPolicycanUpdate in interface FormPolicyp - Person