mirror of https://github.com/apache/archiva.git
remove the role debugging actions declarations and corresponding jsps
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443041 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f079ef8f1d
commit
e0e1b86df1
|
@ -275,89 +275,7 @@
|
|||
<action name="removeRoleFromUser" class="plexusSecurityUserAssignment" method="removeRole">
|
||||
<result name="success" type="chain">user</result>
|
||||
</action>
|
||||
|
||||
<action name="permissions" class="plexusSecuritySummary" method="permissionSummary">
|
||||
<result name="success">/WEB-INF/jsp/admin/rbac/permissions.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="permission" class="plexusSecurityPermission">
|
||||
<interceptor-ref name="paramsPrepareParamsStack"/>
|
||||
<result name="success">/WEB-INF/jsp/admin/rbac/permission.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="savePermission" class="plexusSecurityPermission" method="save">
|
||||
<interceptor-ref name="paramsPrepareParamsStack"/>
|
||||
<result name="success" type="redirect-action">permissions</result>
|
||||
</action>
|
||||
|
||||
<action name="removePermission" class="plexusSecurityPermission" method="remove">
|
||||
<result name="success" type="redirect-action">permissions</result>
|
||||
</action>
|
||||
|
||||
<action name="operations" class="plexusSecuritySummary" method="operationSummary">
|
||||
<result name="success">/WEB-INF/jsp/admin/rbac/operations.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="operation" class="plexusSecurityOperation">
|
||||
<interceptor-ref name="paramsPrepareParamsStack"/>
|
||||
<result name="success">/WEB-INF/jsp/admin/rbac/operation.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="saveOperation" class="plexusSecurityOperation" method="save">
|
||||
<interceptor-ref name="paramsPrepareParamsStack"/>
|
||||
<result name="success" type="redirect-action">operations</result>
|
||||
</action>
|
||||
|
||||
<action name="removeOperation" class="plexusSecurityOperation" method="remove">
|
||||
<result name="success" type="redirect-action">operations</result>
|
||||
</action>
|
||||
|
||||
<action name="resources" class="plexusSecuritySummary" method="resourceSummary">
|
||||
<result name="success">/WEB-INF/jsp/admin/rbac/resources.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="resource" class="plexusSecurityResource">
|
||||
<interceptor-ref name="paramsPrepareParamsStack"/>
|
||||
<result name="success">/WEB-INF/jsp/admin/rbac/resource.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="saveResource" class="plexusSecurityResource" method="save">
|
||||
<interceptor-ref name="paramsPrepareParamsStack"/>
|
||||
<result name="success" type="redirect-action">resources</result>
|
||||
</action>
|
||||
|
||||
<action name="removeResource" class="plexusSecurityResource" method="remove">
|
||||
<result name="success">/WEB-INF/jsp/admin/rbac/resources.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="roles" class="plexusSecuritySummary" method="roleSummary">
|
||||
<result name="success">/WEB-INF/jsp/admin/rbac/roles.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="role" class="plexusSecurityRole">
|
||||
<interceptor-ref name="paramsPrepareParamsStack"/>
|
||||
<result name="success">/WEB-INF/jsp/admin/rbac/role.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="saveRole" class="plexusSecurityRole" method="save">
|
||||
<interceptor-ref name="paramsPrepareParamsStack"/>
|
||||
<result name="success" type="redirect-action">roles</result>
|
||||
</action>
|
||||
|
||||
<action name="removeRole" class="plexusSecurityRole" method="remove">
|
||||
<result name="success" type="redirect-action">roles</result>
|
||||
</action>
|
||||
|
||||
<action name="removeAssignedRole" class="plexusSecurityRole" method="removeAssignedRole">
|
||||
<result name="success" type="chain">role</result>
|
||||
</action>
|
||||
|
||||
<action name="removeAssignedPermission" class="plexusSecurityRole" method="removeAssignedPermission">
|
||||
<result name="success" type="chain">role</result>
|
||||
</action>
|
||||
|
||||
|
||||
|
||||
|
||||
</package>
|
||||
</xwork>
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
NOTE: since this is the first application of plexus-security I have these pages here for analyzing the roles
|
||||
from rbac.
|
||||
|
||||
these will be removed shortly
|
||||
|
||||
nada que ver aqui! :P
|
|
@ -1,43 +0,0 @@
|
|||
<%--
|
||||
~ Copyright 2005-2006 The Apache Software Foundation.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
--%>
|
||||
|
||||
<%@ taglib prefix="ww" uri="/webwork" %>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Configuration</title>
|
||||
<ww:head/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Operation Modification</h1>
|
||||
|
||||
<div id="contentArea">
|
||||
|
||||
<ww:actionerror/>
|
||||
<ww:form action="saveOperation" method="post">
|
||||
<ww:hidden name="operationName"/>
|
||||
|
||||
<ww:textfield label="name" name="name"/> <br/>
|
||||
<ww:textfield label="description" name="description"/> <br/>
|
||||
|
||||
<ww:submit/>
|
||||
</ww:form>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,55 +0,0 @@
|
|||
<%--
|
||||
~ Copyright 2005-2006 The Apache Software Foundation.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
--%>
|
||||
|
||||
<%@ taglib prefix="ww" uri="/webwork" %>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Configuration</title>
|
||||
<ww:head/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Available Operations</h1>
|
||||
|
||||
<div id="contentArea">
|
||||
|
||||
<ww:url id="rolesUrl" action="roles"/>
|
||||
<ww:url id="permissionsUrl" action="permissions"/>
|
||||
<ww:url id="operationsUrl" action="operations"/>
|
||||
<ww:url id="resourcesUrl" action="resources"/>
|
||||
|
||||
<p><ww:a href="%{rolesUrl}">Roles</ww:a>|<ww:a href="%{permissionsUrl}">Permissions</ww:a>|<ww:a href="%{operationsUrl}">Operations</ww:a>|<ww:a href="%{resourcesUrl}">Resources</ww:a> </p>
|
||||
|
||||
<ww:actionerror/>
|
||||
|
||||
<ww:iterator id="operation" value="operations">
|
||||
<ww:url id="operationUrl" action="operation">
|
||||
<ww:param name="operationName">${operation.name}</ww:param>
|
||||
</ww:url>
|
||||
|
||||
<ww:a href="%{operationUrl}">${operation.name}</ww:a><br/>
|
||||
</ww:iterator>
|
||||
|
||||
<p>
|
||||
<ww:url id="newOperationUrl" action="operation"/>
|
||||
|
||||
<ww:a href="%{newOperationUrl}">new</ww:a><br/>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,46 +0,0 @@
|
|||
<%--
|
||||
~ Copyright 2005-2006 The Apache Software Foundation.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
--%>
|
||||
|
||||
<%@ taglib prefix="ww" uri="/webwork" %>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Configuration</title>
|
||||
<ww:head/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Permission Modification</h1>
|
||||
|
||||
<div id="contentArea">
|
||||
|
||||
<ww:actionerror/>
|
||||
<ww:form action="savePermission" method="post">
|
||||
<ww:hidden name="permissionName"/>
|
||||
|
||||
<ww:textfield label="Name" name="name"/> <br/>
|
||||
<ww:textfield label="Description" name="description"/> <br/>
|
||||
<ww:select label="Operation" name="operationName" list="operations" listKey="name" listValue="name" value="operation.name" emptyOption="true"/> <br/>
|
||||
<br/>
|
||||
<ww:select label="Resource" name="resourceIdentifier" list="resources" listKey="identifier" listValue="identifier" value="resource.identifier" emptyOption="true"/><br/>
|
||||
or<br/>
|
||||
<ww:checkbox label="Is GlobalResource?" name="globalResource"/><br/>
|
||||
<center><ww:submit/></center>
|
||||
</ww:form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,59 +0,0 @@
|
|||
<%--
|
||||
~ Copyright 2005-2006 The Apache Software Foundation.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
--%>
|
||||
|
||||
<%@ taglib prefix="ww" uri="/webwork" %>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Configuration</title>
|
||||
<ww:head/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Available Permissions</h1>
|
||||
|
||||
<div id="contentArea">
|
||||
<ww:url id="rolesUrl" action="roles"/>
|
||||
<ww:url id="permissionsUrl" action="permissions"/>
|
||||
<ww:url id="operationsUrl" action="operations"/>
|
||||
<ww:url id="resourcesUrl" action="resources"/>
|
||||
|
||||
<p><ww:a href="%{rolesUrl}">Roles</ww:a>|<ww:a href="%{permissionsUrl}">Permissions</ww:a>|<ww:a href="%{operationsUrl}">Operations</ww:a>|<ww:a href="%{resourcesUrl}">Resources</ww:a> </p>
|
||||
|
||||
<p>
|
||||
Permissions list page
|
||||
</p>
|
||||
<ww:actionerror/>
|
||||
|
||||
<ww:iterator id="permission" value="permissions">
|
||||
<ww:url id="permissionUrl" action="permission">
|
||||
<ww:param name="permissionName">${permission.name}</ww:param>
|
||||
</ww:url>
|
||||
|
||||
<ww:a href="%{permissionUrl}">${permission.name}</ww:a><br/>
|
||||
</ww:iterator>
|
||||
|
||||
<p>
|
||||
<ww:url id="newPermissionUrl" action="permission"/>
|
||||
|
||||
<ww:a href="%{newPermissionUrl}">new</ww:a><br/>
|
||||
</p>
|
||||
|
||||
|
||||
</div
|
||||
</body>
|
||||
</html>
|
|
@ -1,42 +0,0 @@
|
|||
<%--
|
||||
~ Copyright 2005-2006 The Apache Software Foundation.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
--%>
|
||||
|
||||
<%@ taglib prefix="ww" uri="/webwork" %>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Configuration</title>
|
||||
<ww:head/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Resource Modification</h1>
|
||||
|
||||
<div id="contentArea">
|
||||
|
||||
<ww:actionerror/>
|
||||
<ww:form action="saveResource" method="post">
|
||||
<ww:hidden name="resourceIdentifier"/>
|
||||
|
||||
<ww:textfield label="identifier" name="identifier"/> <br/>
|
||||
|
||||
<center><ww:submit/></center>
|
||||
</ww:form>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,55 +0,0 @@
|
|||
<%--
|
||||
~ Copyright 2005-2006 The Apache Software Foundation.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
--%>
|
||||
|
||||
<%@ taglib prefix="ww" uri="/webwork" %>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Configuration</title>
|
||||
<ww:head/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Available Resources</h1>
|
||||
|
||||
<div id="contentArea">
|
||||
|
||||
<ww:url id="rolesUrl" action="roles"/>
|
||||
<ww:url id="permissionsUrl" action="permissions"/>
|
||||
<ww:url id="operationsUrl" action="operations"/>
|
||||
<ww:url id="resourcesUrl" action="resources"/>
|
||||
|
||||
<p><ww:a href="%{rolesUrl}">Roles</ww:a>|<ww:a href="%{permissionsUrl}">Permissions</ww:a>|<ww:a href="%{operationsUrl}">Operations</ww:a>|<ww:a href="%{resourcesUrl}">Resources</ww:a> </p>
|
||||
|
||||
<ww:actionerror/>
|
||||
|
||||
<ww:iterator id="resource" value="resources">
|
||||
<ww:url id="resourceUrl" action="resource">
|
||||
<ww:param name="resourceIdentifier">${resource.identifier}</ww:param>
|
||||
</ww:url>
|
||||
<ww:a href="%{resourceUrl}">${resource.identifier}</ww:a><br/>
|
||||
</ww:iterator>
|
||||
|
||||
<p>
|
||||
<ww:url id="newResourceUrl" action="resource"/>
|
||||
|
||||
<ww:a href="%{newResourceUrl}">new</ww:a><br/>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,67 +0,0 @@
|
|||
<%--
|
||||
~ Copyright 2005-2006 The Apache Software Foundation.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
--%>
|
||||
|
||||
<%@ taglib prefix="ww" uri="/webwork" %>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Configuration</title>
|
||||
<ww:head/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Role Modification</h1>
|
||||
|
||||
<div id="contentArea">
|
||||
|
||||
<ww:actionerror/>
|
||||
<ww:form action="saveRole" method="post">
|
||||
<ww:hidden name="roleName"/>
|
||||
|
||||
<ww:textfield label="name" name="name"/> <br/>
|
||||
<ww:textfield label="description" name="description"/> <br/>
|
||||
<ww:checkbox label="assignable?" name="assignable"/><br/>
|
||||
<br/>
|
||||
Currently Assigned Permissions:<br/>
|
||||
<ww:iterator id="permission" value="permissions">
|
||||
<ww:url id="removeAssignedPermissionUrl" action="removeAssignedPermission">
|
||||
<ww:param name="roleName" value="roleName"/>
|
||||
<ww:param name="removePermissionName">${permission.name}</ww:param>
|
||||
</ww:url>
|
||||
${permission.name} | <ww:a href="%{removeAssignedPermissionUrl}">remove</ww:a><br/>
|
||||
</ww:iterator>
|
||||
<br/>
|
||||
<ww:select label="add new permission" name="assignPermissionName" list="assignablePermissions" listKey="name" listValue="name" emptyOption="true"/><br/>
|
||||
<br/>
|
||||
Currently Assigned Roles:<br/>
|
||||
<ww:iterator id="arole" value="childRoles.roles">
|
||||
<ww:url id="removeAssignedRoleUrl" action="removeAssignedRole">
|
||||
<ww:param name="roleName" value="roleName"/>
|
||||
<ww:param name="removeRoleName" value="${arole.name}"/>
|
||||
</ww:url>
|
||||
${arole.name} | <ww:a href="%{removeAssignedRoleUrl}">remove</ww:a><br/>
|
||||
</ww:iterator>
|
||||
<br/>
|
||||
<ww:select label="add sub role" name="assignedRoleName" list="assignableRoles" listKey="name" listValue="name" emptyOption="true"/><br/>
|
||||
|
||||
<p>
|
||||
<ww:submit/>
|
||||
</p>
|
||||
</ww:form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,55 +0,0 @@
|
|||
<%--
|
||||
~ Copyright 2005-2006 The Apache Software Foundation.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
--%>
|
||||
|
||||
<%@ taglib prefix="ww" uri="/webwork" %>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Configuration</title>
|
||||
<ww:head/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Available Roles</h1>
|
||||
|
||||
<div id="contentArea">
|
||||
|
||||
<body>
|
||||
<ww:url id="rolesUrl" action="roles"/>
|
||||
<ww:url id="permissionsUrl" action="permissions"/>
|
||||
<ww:url id="operationsUrl" action="operations"/>
|
||||
<ww:url id="resourcesUrl" action="resources"/>
|
||||
|
||||
<p><ww:a href="%{rolesUrl}">Roles</ww:a>|<ww:a href="%{permissionsUrl}">Permissions</ww:a>|<ww:a href="%{operationsUrl}">Operations</ww:a>|<ww:a href="%{resourcesUrl}">Resources</ww:a> </p>
|
||||
|
||||
<ww:actionerror/>
|
||||
<ww:iterator id="role" value="roles">
|
||||
<ww:url id="roleUrl" action="role">
|
||||
<ww:param name="roleName">${role.name}</ww:param>
|
||||
</ww:url>
|
||||
|
||||
<ww:a href="%{roleUrl}">${role.name}</ww:a><br/>
|
||||
</ww:iterator>
|
||||
|
||||
<p>
|
||||
<ww:url id="newRoleUrl" action="role"/>
|
||||
|
||||
<ww:a href="%{newRoleUrl}">new</ww:a><br/>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue