org.drools.guvnor.server.security
Class RoleTypes

java.lang.Object
  extended by org.drools.guvnor.server.security.RoleTypes

public class RoleTypes
extends Object


Field Summary
static String ADMIN
          Admin can do everything
static String ANALYST
          Analyst only see the "rules" view, and we specify what category paths they can see.
static String ANALYST_READ
          Read only for categories (analyst view)
static String PACKAGE_ADMIN
          package.logInAdmin can do everything within this package
static String PACKAGE_DEVELOPER
          package.developer can do anything in that package but not snapshots.
static String PACKAGE_READONLY
          Read only for package.
 
Constructor Summary
RoleTypes()
           
 
Method Summary
static String[] listAvailableTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADMIN

public static final String ADMIN
Admin can do everything

See Also:
Constant Field Values

ANALYST

public static final String ANALYST
Analyst only see the "rules" view, and we specify what category paths they can see. They can't create anything, only edit rules, and run tests etc, but only things that are exposed to them via categories

See Also:
Constant Field Values

ANALYST_READ

public static final String ANALYST_READ
Read only for categories (analyst view)

See Also:
Constant Field Values

PACKAGE_ADMIN

public static final String PACKAGE_ADMIN
package.logInAdmin can do everything within this package

See Also:
Constant Field Values

PACKAGE_DEVELOPER

public static final String PACKAGE_DEVELOPER
package.developer can do anything in that package but not snapshots. This includes creating a new package (in which case they inherit permissions for it).

See Also:
Constant Field Values

PACKAGE_READONLY

public static final String PACKAGE_READONLY
Read only for package.

See Also:
Constant Field Values
Constructor Detail

RoleTypes

public RoleTypes()
Method Detail

listAvailableTypes

public static String[] listAvailableTypes()
Returns:
A list of all available types.


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.