Uses of Class
de.hybris.platform.jalo.security.UserRight
Packages that use UserRight
Package
Description
-
Uses of UserRight in de.hybris.platform.hmc.jalo
Methods in de.hybris.platform.hmc.jalo that return types with arguments of type UserRightModifier and TypeMethodDescriptionAccessManager.getDescriptorUserRights()Returns a map containing the three UserRight objects for the keys READ, CHANGE, and CHANGE_PERMISSIONS...AccessManager.getTypeUserRights()Returns a map containing the five UserRight objects for the keys READ, CHANGE, CREATE, REMOVE and CHANGE_PERMISSIONS... -
Uses of UserRight in de.hybris.platform.jalo
Methods in de.hybris.platform.jalo with parameters of type UserRightModifier and TypeMethodDescriptionvoidItem.addNegativePermission(Principal principal, UserRight right) Add a negative permission for thePrincipaland theUserRighton theItem.voidItem.addPermission(Principal principal, UserRight right, boolean negative) Add a permission for thePrincipaland theUserRighton theItem.voidItem.addPositivePermission(Principal principal, UserRight right) Add a positive permission for thePrincipaland theUserRighton theItem.protected intItem.checkItemPermission(Principal principal, UserRight right) booleanItem.checkPermission(Principal principal, UserRight right) Checks if thePrincipalhas the givenUserRighton theItem.booleanItem.checkPermission(UserRight right) Checks if the current session user has the givenUserRighton theItem.voidItem.clearPermission(Principal principal, UserRight right) Remove any permission for thePrincipaland theUserRighton theItem.Method parameters in de.hybris.platform.jalo with type arguments of type UserRight -
Uses of UserRight in de.hybris.platform.jalo.security
Methods in de.hybris.platform.jalo.security that return UserRightModifier and TypeMethodDescriptionAccessManager.createUserRight(String code) Creates a new UserRight with a given code.AccessManager.getOrCreateUserRightByCode(String code) Convenience method which first tries to get the user right with the given code and when such a user right does not exists, it will be created.AccessManager.getUserRightByCode(String code) Returns the UserRight with the specified code.Methods in de.hybris.platform.jalo.security with parameters of type UserRightModifier and TypeMethodDescriptionvoidAccessManager.addGlobalNegativePermission(Principal caller, Principal principal, UserRight permission) Deprecated.voidPrincipal.addGlobalNegativePermission(UserRight permission) Deprecated.voidPrincipal.addGlobalPermission(UserRight permission, boolean deny) Deprecated.voidAccessManager.addGlobalPositivePermission(Principal caller, Principal principal, UserRight permission) Deprecated.since ages - please usePrincipal.addGlobalPositivePermission(UserRight)insteadvoidPrincipal.addGlobalPositivePermission(UserRight permission) Deprecated.voidAccessManager.addNegativePermissionOn(Item item, Principal caller, Principal principal, UserRight permission) Negatively assigns a right for a user to a item (prohibition).voidAccessManager.addPositivePermissionOn(Item item, Principal caller, Principal principal, UserRight permission) Positively assigns a right for a user to a item.booleanPrincipal.checkGlobalPermission(UserRight right) Deprecated.booleanAccessManager.checkPermission(Principal principal, UserRight permission) Checks a global permission for a user and a right.booleanAccessManager.checkPermissionOn(Item item, Principal principal, UserRight permission) Checks permission on an item.voidPrincipal.clearGlobalPermission(UserRight permission) Deprecated.AccessManager.getGlobalRestrictedPrincipals(UserRight permission) voidAccessManager.removeGlobalPermission(Principal caller, Principal principal, UserRight permission) Deprecated.since ages - please usePrincipal.clearGlobalPermission(UserRight)insteadvoidAccessManager.removePermissionOn(Item item, Principal caller, Principal principal, UserRight permission) Removes the local assignment of a userright for a user on a specific item. -
Uses of UserRight in de.hybris.platform.jalo.type
Methods in de.hybris.platform.jalo.type with parameters of type UserRightModifier and TypeMethodDescriptionprotected intComposedType.checkItemPermission(Principal principal, UserRight right) Allow type package to see this methodbooleanAttributeDescriptor.checkTypePermission(Principal p, UserRight right) Checks the type permission upon this attribute of the given principal.booleanAttributeDescriptor.checkTypePermission(UserRight right) Checks the type permission upon this attribute of the current session user.booleanComposedType.checkTypePermission(Principal p, UserRight right) Checks the type permission of a given user.booleanComposedType.checkTypePermission(UserRight right) Checks the type permission of the current session user. -
Uses of UserRight in de.hybris.platform.persistence
Method parameters in de.hybris.platform.persistence with type arguments of type UserRight -
Uses of UserRight in de.hybris.platform.servicelayer.internal.jalo
Methods in de.hybris.platform.servicelayer.internal.jalo that return UserRightModifier and TypeMethodDescriptionGeneratedServicelayerManager.createUserRight(SessionContext ctx, Map attributeValues) GeneratedServicelayerManager.createUserRight(Map attributeValues)
Principal.addGlobalNegativePermission(UserRight)instead