[New] Added constant PrivilegeConstants.ROLE_STROLCH_ADMIN
This commit is contained in:
parent
6688555971
commit
eb93e2ab5e
|
@ -19,6 +19,7 @@ import java.nio.charset.StandardCharsets;
|
|||
|
||||
import li.strolch.model.activity.Activity;
|
||||
import li.strolch.model.parameter.Parameter;
|
||||
import li.strolch.privilege.base.PrivilegeConstants;
|
||||
|
||||
public class StrolchModelConstants {
|
||||
|
||||
|
@ -86,7 +87,7 @@ public class StrolchModelConstants {
|
|||
/**
|
||||
* ID of the admin role which has access to all resources
|
||||
*/
|
||||
public static final String ROLE_STROLCH_ADMIN = "StrolchAdmin";
|
||||
public static final String ROLE_STROLCH_ADMIN = PrivilegeConstants.ROLE_STROLCH_ADMIN;
|
||||
|
||||
public static final String PARAM_CLASS_NAME = "className";
|
||||
public static final String PARAM_CRON = "cron";
|
||||
|
|
|
@ -15,4 +15,6 @@ public class PrivilegeConstants {
|
|||
public static final String SECONDARY_LOCATIONS = "secondaryLocations";
|
||||
public static final String ROLES = "roles";
|
||||
public static final String EMAIL = "email";
|
||||
|
||||
public static final String ROLE_STROLCH_ADMIN = "StrolchAdmin";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue