3 ~ Licensed under the Apache License, Version 2.0 (the "License");
4 ~ you may not use this file except in compliance with the License.
5 ~ You may obtain a copy of the License at
7 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~ Unless required by applicable law or agreed to in writing, software
10 ~ distributed under the License is distributed on an "AS IS" BASIS,
11 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ~ See the License for the specific language governing permissions and
13 ~ limitations under the License.
16 <%@ taglib prefix="s" uri="/struts-tags"%>
17 <%@ taglib prefix="redback" uri="/redback/taglib-1.0"%>
18 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
21 <s:i18n name="org.apache.archiva.redback.struts2.default">
23 <title><s:text name="role.model.page.title"/></title>
28 <%@ include file="/WEB-INF/jsp/redback/include/rbacListNavigation.jsp" %>
30 <h2><s:text name="role.model.section.title"/></h2>
32 <p><s:text name="role.model.message"/></p>
34 <%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
36 <h4>${model.application}</h4>
38 <h5><s:text name="resources"/>:</h5>
40 <s:iterator id="resource" value="model.resources">
42 <s:text name="role.model.id"/>: ${resource.id}<br/>
43 <s:text name="role.model.name"/>: ${resource.name}<br/>
44 <s:text name="role.model.permanent"/>: ${resource.permanent}<br/>
50 <h5><s:text name="operations"/>:</h5>
52 <s:iterator id="operation" value="model.operations">
54 <s:text name="role.model.id"/>: ${operation.id}<br/>
55 <s:text name="role.model.name"/>: ${operation.name}<br/>
56 <s:text name="role.model.permanent"/>: ${operation.permanent}<br/>
62 <h5><s:text name="roles"/>:</h5>
64 <s:iterator id="role" value="model.roles">
66 <s:text name="role.model.id"/>: ${role.id}<br/>
67 <s:text name="role.model.name"/>: ${role.name}<br/>
68 <s:text name="role.model.permanent"/>: ${role.permanent}<br/>
69 <s:text name="role.model.assignable"/>: ${role.assignable}<br/>
70 <s:text name="permissions"/>:
72 <s:iterator id="permission" value="#role.permissions">
74 <s:text name="role.model.id"/>: ${permission.id}<br/>
75 <s:text name="role.model.name"/>: ${permission.name}<br/>
76 <s:text name="role.model.permanent"/>: ${permission.permanent}<br/>
77 <s:text name="role.model.operation.id"/>: ${permission.operation}<br/>
78 <s:text name="role.model.resource.id"/>: ${permission.resource}<br/>
82 <s:text name="role.model.child.roles"/>:
84 <s:iterator id="childRole" value="#role.childRoles">
86 <s:text name="role.model.role.id"/>: ${childRole}<br/>
90 <s:text name="role.model.parent.roles"/>:
92 <s:iterator id="parentRole" value="#role.parentRoles">
94 <s:text name="role.model.role.id"/>: ${parentRole}<br/>
103 <h5><s:text name="role.model.templates"/>:</h5>
105 <s:iterator id="template" value="model.templates">
107 <s:text name="role.model.id"/>: ${template.id}<br/>
108 <s:text name="role.model.name.prefix"/>: ${template.namePrefix}<br/>
109 <s:text name="role.model.permanent"/>: ${template.permanent}<br/>
110 <s:text name="role.model.assignable"/>: ${template.assignable}<br/>
111 <s:text name="role.model.delimeter"/>: ${template.delimiter}<br/>
112 <s:text name="permissions"/>:
114 <s:iterator id="permission" value="#template.permissions">
116 <s:text name="role.model.id"/>: ${permission.id}<br/>
117 <s:text name="role.model.name"/>: ${permission.name}<br/>
118 <s:text name="role.model.permanent"/>: ${permission.permanent}<br/>
119 <s:text name="role.model.operation.id"/>: ${permission.operation}<br/>
120 <s:text name="role.model.resource.id"/>: ${permission.resource}<br/>
124 <s:text name="role.model.child.roles"/>:
126 <s:iterator id="childRole" value="#template.childRoles">
128 <s:text name="role.model.role.id"/>: ${childRole}<br/>
132 <s:text name="role.model.parent.roles"/>:
134 <s:iterator id="parentRole" value="#template.parentRoles">
136 <s:text name="role.model.role.id"/>: ${parentRole}<br/>
140 <s:text name="role.model.child.templates"/>:
142 <s:iterator id="childTemplate" value="#template.childTemplates">
144 <s:text name="role.model.template.id"/>: ${childTemplate}<br/>
148 <s:text name="role.model.parent.templates"/>:
150 <s:iterator id="parentTemplate" value="#template.parentTemplates">
152 <s:text name="role.model.template.id"/>: ${parentTemplate}<br/>