Class SubjectTenantIsSamePermission
java.lang.Object
org.craftercms.profile.management.security.permissions.SubjectTenantIsSamePermission
- All Implemented Interfaces:
org.craftercms.commons.security.permissions.Permission
public class SubjectTenantIsSamePermission
extends Object
implements org.craftercms.commons.security.permissions.Permission
Permission that ensures that the current profile isn't trying to modify a tenant that it's not its own tenant or
a profile that doesn't correspond to its own tenant.
- Author:
- avasquez
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SubjectTenantIsSamePermission
-
-
Method Details
-
isAllowed
- Specified by:
isAllowedin interfaceorg.craftercms.commons.security.permissions.Permission
-