public class SecurityAppWritePermissionRequiredRule extends WritePermissionRequiredRule
AvailabilityRule
implementation which returns true if current user has write permissions for the evaluated items
or if current user has superuser role assigned.Constructor and Description |
---|
SecurityAppWritePermissionRequiredRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableForItem(Object itemId)
This method defines the actual evaluation logic for one item.
|
isWritePermissionRequired, setWritePermissionRequired
isAvailable
public SecurityAppWritePermissionRequiredRule()
protected boolean isAvailableForItem(Object itemId)
AbstractAvailabilityRule
isAvailableForItem
in class WritePermissionRequiredRule
Copyright © 2015 Magnolia International Ltd.. All rights reserved.