Revision 499f55b2
Added by Andreas Kohlbecker over 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/security/UserHelper.java | ||
---|---|---|
53 | 53 |
|
54 | 54 |
boolean userIsAutheticated(); |
55 | 55 |
|
56 |
public void createAuthorityFor(String username, Class<? extends CdmBase> cdmType, Integer entitiyId, EnumSet<CRUD> crud); |
|
56 |
public void createAuthorityFor(String username, Class<? extends CdmBase> cdmType, Integer entitiyId, EnumSet<CRUD> crud, String property);
|
|
57 | 57 |
|
58 | 58 |
/** |
59 | 59 |
* @param cdmType |
60 | 60 |
* @param entitiyId |
61 | 61 |
* @param crud |
62 | 62 |
*/ |
63 |
void createAuthorityForCurrentUser(Class<? extends CdmBase> cdmType, Integer entitiyId, EnumSet<CRUD> crud); |
|
63 |
void createAuthorityForCurrentUser(Class<? extends CdmBase> cdmType, Integer entitiyId, EnumSet<CRUD> crud, String property);
|
|
64 | 64 |
|
65 | 65 |
|
66 | 66 |
} |
Also available in: Unified diff
ref #6867 ref #7026 extending UserHelper to allow creation of authorities with propeties and test button in debug mode