Kie Workbench - Common - Security 6.1.0.Beta3

org.kie.workbench.common.services.security
Class UserCapabilities

java.lang.Object
  extended by org.kie.workbench.common.services.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).


Constructor Summary
UserCapabilities()
           
 
Method Summary
static boolean canCreateNewAsset()
           
static boolean canSeeDeploymentTree()
           
static boolean canSeeModulesTree()
           
static boolean canSeeQA()
           
static boolean canSeeStatuses()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserCapabilities

public UserCapabilities()
Method Detail

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()

Kie Workbench - Common - Security 6.1.0.Beta3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.