com.enonic.xp.security.RoleKeys Maven / Gradle / Ivy
The newest version!
package com.enonic.xp.security;
import com.enonic.xp.annotation.PublicApi;
@PublicApi
public final class RoleKeys
{
private RoleKeys()
{
}
public static final String ADMIN_ID = "system.admin";
public static final PrincipalKey ADMIN = PrincipalKey.ofRole( ADMIN_ID );
public static final PrincipalKey EVERYONE = PrincipalKey.ofRole( "system.everyone" );
public static final PrincipalKey AUTHENTICATED = PrincipalKey.ofRole( "system.authenticated" );
public static final String ADMIN_LOGIN_ID = "system.admin.login";
public static final PrincipalKey ADMIN_LOGIN = PrincipalKey.ofRole( ADMIN_LOGIN_ID );
public static final String AUDIT_LOG_ID = "system.auditlog";
public static final String CONTENT_MANAGER_ADMIN_ID = "cms.admin";
public static final PrincipalKey AUDIT_LOG = PrincipalKey.ofRole( AUDIT_LOG_ID );
public static final PrincipalKey USER_MANAGER_APP = PrincipalKey.ofRole( "system.user.app" );
public static final PrincipalKey USER_MANAGER_ADMIN = PrincipalKey.ofRole( "system.user.admin" );
public static final String CONTENT_MANAGER_APP_ID = "cms.cm.app";
public static final PrincipalKey CONTENT_MANAGER_APP = PrincipalKey.ofRole( CONTENT_MANAGER_APP_ID );
public static final PrincipalKey CONTENT_MANAGER_EXPERT = PrincipalKey.ofRole( "cms.expert" );
public static final PrincipalKey CONTENT_MANAGER_ADMIN = PrincipalKey.ofRole( CONTENT_MANAGER_ADMIN_ID );
public static final PrincipalKey SCHEMA_ADMIN = PrincipalKey.ofRole( "system.schema.admin" );
}