Uses of Record Class
org.craftercms.studio.api.v2.dal.security.NormalizedRole
Packages that use NormalizedRole
Package
Description
-
Uses of NormalizedRole in org.craftercms.studio.api.v1.constant
Fields in org.craftercms.studio.api.v1.constant declared as NormalizedRoleModifier and TypeFieldDescriptionstatic final NormalizedRole
StudioConstants.ADMIN_NORMALIZED_ROLE
static final NormalizedRole
StudioConstants.SYSTEM_ADMIN_NORMALIZED_ROLE
-
Uses of NormalizedRole in org.craftercms.studio.api.v1.service.content
Method parameters in org.craftercms.studio.api.v1.service.content with type arguments of type NormalizedRoleModifier and TypeMethodDescriptionboolean
ContentTypeService.isUserAllowed
(Set<NormalizedRole> userRoles, ContentTypeConfigTO item) check if the user is allowed to access the content type with the given user roles -
Uses of NormalizedRole in org.craftercms.studio.api.v1.service.security
Methods in org.craftercms.studio.api.v1.service.security that return types with arguments of type NormalizedRoleModifier and TypeMethodDescriptionSecurityService.getUserGlobalRoles
(long userId, String username) SecurityService.getUserRoles
(String site, String user) SecurityService.getUserRoles
(String site, String user, boolean includeGlobal) -
Uses of NormalizedRole in org.craftercms.studio.api.v1.to
Fields in org.craftercms.studio.api.v1.to with type parameters of type NormalizedRoleModifier and TypeFieldDescriptionprotected Set
<NormalizedRole> ContentTypeConfigTO.allowedRoles
list of roles allowedprotected Map
<String, Map<NormalizedRole, List<org.dom4j.Node>>> PermissionsConfigTO.permissions
protected Map
<NormalizedGroup, List<NormalizedRole>> PermissionsConfigTO.roles
Methods in org.craftercms.studio.api.v1.to that return types with arguments of type NormalizedRoleModifier and TypeMethodDescriptionContentTypeConfigTO.getAllowedRoles()
Map
<String, Map<NormalizedRole, List<org.dom4j.Node>>> PermissionsConfigTO.getPermissions()
PermissionsConfigTO.getRoles()
Method parameters in org.craftercms.studio.api.v1.to with type arguments of type NormalizedRoleModifier and TypeMethodDescriptionvoid
ContentTypeConfigTO.setAllowedRoles
(Set<NormalizedRole> allowedRoles) void
PermissionsConfigTO.setPermissions
(Map<String, Map<NormalizedRole, List<org.dom4j.Node>>> permissions) void
PermissionsConfigTO.setRoles
(Map<NormalizedGroup, List<NormalizedRole>> roles) -
Uses of NormalizedRole in org.craftercms.studio.api.v2.dal.security
Methods in org.craftercms.studio.api.v2.dal.security that return types with arguments of type NormalizedRoleModifier and TypeMethodDescriptionSitePermissionMappings.getRolePermissions()
SitePermissionMappings.getRolesForGroup
(String group) Method parameters in org.craftercms.studio.api.v2.dal.security with type arguments of type NormalizedRoleModifier and TypeMethodDescriptionvoid
SitePermissionMappings.addGroupToRolesMapping
(NormalizedGroup group, List<NormalizedRole> roles) void
SitePermissionMappings.setRolePermissions
(Map<NormalizedRole, RolePermissionMappings> rolePermissions) -
Uses of NormalizedRole in org.craftercms.studio.api.v2.service.config
Methods in org.craftercms.studio.api.v2.service.config that return types with arguments of type NormalizedRoleModifier and TypeMethodDescriptionConfigurationService.getGlobalRoleMappings()
Get global role mappings configurationConfigurationService.getRoleMappings
(String siteId) Get role mappings configuration for given site -
Uses of NormalizedRole in org.craftercms.studio.api.v2.service.security
Methods in org.craftercms.studio.api.v2.service.security that return types with arguments of type NormalizedRoleModifier and TypeMethodDescriptionUserService.getUserSiteRoles
(long userId, String username, String site) Method parameters in org.craftercms.studio.api.v2.service.security with type arguments of type NormalizedRoleModifier and TypeMethodDescriptionSecurityService.getUserPermission
(String siteId, String username, List<NormalizedRole> roles) Get user permissions for given site -
Uses of NormalizedRole in org.craftercms.studio.impl.v1.service.content
Method parameters in org.craftercms.studio.impl.v1.service.content with type arguments of type NormalizedRoleModifier and TypeMethodDescriptionprotected void
ContentTypeServiceImpl.addContentTypes
(String site, Set<NormalizedRole> userRoles, ContentTypeConfigTO config, List<ContentTypeConfigTO> contentTypes) boolean
ContentTypeServiceImpl.isUserAllowed
(Set<NormalizedRole> userRoles, ContentTypeConfigTO item) -
Uses of NormalizedRole in org.craftercms.studio.impl.v1.service.security
Methods in org.craftercms.studio.impl.v1.service.security that return types with arguments of type NormalizedRoleModifier and TypeMethodDescriptionprotected Map
<NormalizedGroup, List<NormalizedRole>> SecurityServiceImpl.getRoles
(List<org.dom4j.Node> nodes, Map<NormalizedGroup, List<NormalizedRole>> rolesMap) @Valid List
<NormalizedRole> SecurityServiceImpl.getUserGlobalRoles
(long userId, String username) @Valid Set
<NormalizedRole> SecurityServiceImpl.getUserRoles
(String site, String user) @Valid Set
<NormalizedRole> SecurityServiceImpl.getUserRoles
(String site, String user, boolean includeGlobal) Method parameters in org.craftercms.studio.impl.v1.service.security with type arguments of type NormalizedRoleModifier and TypeMethodDescriptionprotected void
SecurityServiceImpl.addGlobalGroupRoles
(Set<NormalizedRole> roles, List<String> groups, PermissionsConfigTO rolesConfig) protected void
SecurityServiceImpl.addGlobalUserRoles
(String user, Set<NormalizedRole> roles, PermissionsConfigTO rolesConfig) protected void
SecurityServiceImpl.addUserRoles
(Set<NormalizedRole> roles, String site, String user) add user rolesprotected Map
<NormalizedGroup, List<NormalizedRole>> SecurityServiceImpl.getRoles
(List<org.dom4j.Node> nodes, Map<NormalizedGroup, List<NormalizedRole>> rolesMap) SecurityServiceImpl.populateUserGlobalPermissions
(String path, Set<NormalizedRole> roles, PermissionsConfigTO permissionsConfig) SecurityServiceImpl.populateUserPermissions
(String site, String path, Set<NormalizedRole> roles, PermissionsConfigTO permissionsConfig) populate user permissions -
Uses of NormalizedRole in org.craftercms.studio.impl.v2.service.configuration
Methods in org.craftercms.studio.impl.v2.service.configuration that return types with arguments of type NormalizedRoleModifier and TypeMethodDescriptionConfigurationServiceImpl.getGlobalRoleMappings()
ConfigurationServiceImpl.getRoleMappings
(String siteId) -
Uses of NormalizedRole in org.craftercms.studio.impl.v2.service.configuration.internal
Methods in org.craftercms.studio.impl.v2.service.configuration.internal that return types with arguments of type NormalizedRoleModifier and TypeMethodDescriptionConfigurationServiceInternalImpl.getGlobalRoleMappings()
ConfigurationServiceInternalImpl.getRoleMappings
(String siteId) -
Uses of NormalizedRole in org.craftercms.studio.impl.v2.service.security
Methods in org.craftercms.studio.impl.v2.service.security that return types with arguments of type NormalizedRoleModifier and TypeMethodDescriptionUserServiceImpl.getUserSiteRoles
(long userId, String username, String site) Method parameters in org.craftercms.studio.impl.v2.service.security with type arguments of type NormalizedRoleModifier and TypeMethodDescriptionSecurityServiceImpl.getUserPermission
(String siteId, String username, List<NormalizedRole> roles)