Class PermissionAssignment
java.lang.Object
de.hybris.platform.servicelayer.security.permissions.PermissionAssignment
Parameter object used as
PermissionManagementService service method arguments and return type. Instances of
this class keep permission assignment details: Permission name, Principal to which the permission is (to be) assigned
and the granted/denied flag. When constructing instances of this class, by default the permission is "granted". There
is another constructor that allows to explicitly deny a permission.-
Constructor Summary
ConstructorsConstructorDescriptionPermissionAssignment(String permissionName, PrincipalModel principal) Constructor for "granting" a permission.PermissionAssignment(String permissionName, PrincipalModel principal, boolean denied) This constructor can be used to create a denying permission assignment. -
Method Summary
-
Constructor Details
-
PermissionAssignment
Constructor for "granting" a permission. -
PermissionAssignment
This constructor can be used to create a denying permission assignment.
-
-
Method Details