org.drools.guvnor.client.configurations
Class UserCapabilities
java.lang.Object
org.drools.guvnor.client.configurations.UserCapabilities
public 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 |
INSTANCE
public static UserCapabilities INSTANCE
hasCapability
public boolean hasCapability(Capability... capabilities)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.