com.xebialabs.deployit.security.permission
Class InitialDeploymentHandler

java.lang.Object
  extended by com.xebialabs.deployit.security.permission.PermissionHandler
      extended by com.xebialabs.deployit.security.permission.InitialDeploymentHandler

public class InitialDeploymentHandler
extends PermissionHandler

Grants a user: - deployment#initial permission - (add|remove)_child_node rights on the Environment - (add|remove)_child_node rights on the members of an Environment (ie. infrastructure) - (add|remove)_child_node rights on the dictionaries of an Environment (ie. infrastructure) - read rights on the Application


Field Summary
 
Fields inherited from class com.xebialabs.deployit.security.permission.PermissionHandler
ADD_CHILD_NODES_PRIVILEGES, JCR_ADD_CHILD_NODES, JCR_MODIFY_PROPERTIES, JCR_NODE_TYPE_MANAGEMENT, JCR_READ, JCR_REMOVE_CHILD_NODES, JCR_REMOVE_NODE, JCR_VERSION_MANAGEMENT, REMOVE_CHILD_NODES_PRIVILEGES
 
Constructor Summary
InitialDeploymentHandler()
           
 
Method Summary
protected  void handle(java.lang.String user, com.xebialabs.deployit.security.permission.PermissionHandler.Action action)
           
protected  void handle(java.lang.String user, java.lang.String onConfigurationItem, com.xebialabs.deployit.security.permission.PermissionHandler.Action action)
           
 
Methods inherited from class com.xebialabs.deployit.security.permission.PermissionHandler
deny, grant, hasPermission, limitedPrivileges, limitedPrivileges, permission, permission, privileges, privileges, revoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialDeploymentHandler

public InitialDeploymentHandler()
Method Detail

handle

protected void handle(java.lang.String user,
                      com.xebialabs.deployit.security.permission.PermissionHandler.Action action)
Overrides:
handle in class PermissionHandler

handle

protected void handle(java.lang.String user,
                      java.lang.String onConfigurationItem,
                      com.xebialabs.deployit.security.permission.PermissionHandler.Action action)
Overrides:
handle in class PermissionHandler