Class CmsDirectEditPermissions
java.lang.Object
org.opencms.workplace.editors.directedit.CmsDirectEditPermissions
Constants to indicate the direct edit permissions of a user for a VFS resource,
used to describe if and how to show the direct edit buttons for the resource.
- Since:
- 6.2.3
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CmsDirectEditPermissions
Describes the "disabled" permission.static final CmsDirectEditPermissions
Describes the "enabled" permission.static final CmsDirectEditPermissions
Describes the "inactive" permission.static final String
String constant forDISABLED
.static final String
String constant forENABLED
.static final String
String constant forINACTIVE
. -
Method Summary
-
Field Details
-
DISABLED
Describes the "disabled" permission.User has general permissions to direct edit a resource, but this is currently not possible because for example another user has locked the resource.
Direct edit buttons are displayed, but "grayed out".
-
ENABLED
Describes the "enabled" permission.User has permissions to direct edit a resource, the resource is also available for direct edit.
Direct edit buttons are displayed and active.
-
INACTIVE
Describes the "inactive" permission.User has no permissions to direct edit a resource. This may be because of write permissions, or because the resource is not part of the current project, or for other reasons.
Direct edit buttons are not displayed at all.
-
VALUE_DISABLED
String constant forDISABLED
.- See Also:
-
VALUE_ENABLED
String constant forENABLED
.- See Also:
-
VALUE_INACTIVE
String constant forINACTIVE
.- See Also:
-
-
Method Details