org.guvnor.common.services.shared.security
Class UserCapabilities
java.lang.Object
org.guvnor.common.services.shared.security.UserCapabilities
public final class UserCapabilities
- extends Object
This is used to turn off GUI functionality. The server decides what should be visible based on roles
and permissions granted. This is essentially a security and permissions function (however the Capabilities
do not enforce actions on the server - these are more for GUI convenience so elements are not displayed
that are not relevant to a given users role).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserCapabilities
public UserCapabilities()
canCreateNewAsset
public static boolean canCreateNewAsset()
canSeeModulesTree
public static boolean canSeeModulesTree()
canSeeStatuses
public static boolean canSeeStatuses()
canSeeQA
public static boolean canSeeQA()
canSeeDeploymentTree
public static boolean canSeeDeploymentTree()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.