]> source.dussan.org Git - archiva.git/blob
b2a4f845022a354bead0f167e4e270df518af2d5
[archiva.git] /
1 <%--
2   ~
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
6   ~
7   ~      http://www.apache.org/licenses/LICENSE-2.0
8   ~
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.
14   --%>
15
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" %>
19
20 <html>
21 <s:i18n name="org.apache.archiva.redback.struts2.default">
22 <head>
23   <title><s:text name="role.model.page.title"/></title>
24 </head>
25
26 <body>
27
28 <%@ include file="/WEB-INF/jsp/redback/include/rbacListNavigation.jsp" %>
29
30 <h2><s:text name="role.model.section.title"/></h2>
31
32         <p><s:text name="role.model.message"/></p>
33
34 <%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
35
36         <h4>${model.application}</h4>
37
38         <h5><s:text name="resources"/>:</h5>
39     <ul>
40       <s:iterator id="resource" value="model.resources">
41       <li>
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/>
45         <br/>
46       </li>
47       </s:iterator>
48     </ul>
49
50         <h5><s:text name="operations"/>:</h5>
51     <ul>
52       <s:iterator id="operation" value="model.operations">
53         <li>
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/>
57                 <br/>
58         </li>
59       </s:iterator>
60     </ul>
61     
62     <h5><s:text name="roles"/>:</h5>
63     <ul>
64       <s:iterator id="role" value="model.roles">        
65         <li>
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"/>:
71                 <ul>
72                   <s:iterator id="permission" value="#role.permissions">
73                         <li>
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/>
79                         </li>
80                   </s:iterator>
81                 </ul>
82                 <s:text name="role.model.child.roles"/>:
83                 <ul>
84                   <s:iterator id="childRole" value="#role.childRoles">
85                         <li>
86                           <s:text name="role.model.role.id"/>: ${childRole}<br/>
87                         </li>
88                   </s:iterator>
89                 </ul> 
90                 <s:text name="role.model.parent.roles"/>:
91                 <ul>
92                   <s:iterator id="parentRole" value="#role.parentRoles">
93                         <li>
94                           <s:text name="role.model.role.id"/>: ${parentRole}<br/>
95                         </li>
96                   </s:iterator>
97                 </ul> 
98         </li>
99         <br/>
100       </s:iterator>
101     </ul>
102     
103     <h5><s:text name="role.model.templates"/>:</h5>
104     <ul>
105         <s:iterator id="template" value="model.templates">        
106         <li>
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"/>:
113                 <ul>
114                   <s:iterator id="permission" value="#template.permissions">
115                         <li>
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/>
121                         </li>
122                   </s:iterator>
123                 </ul>
124                 <s:text name="role.model.child.roles"/>:
125                 <ul>
126                   <s:iterator id="childRole" value="#template.childRoles">
127                         <li>
128                           <s:text name="role.model.role.id"/>: ${childRole}<br/>
129                         </li>
130                   </s:iterator>
131                 </ul> 
132                 <s:text name="role.model.parent.roles"/>:
133                 <ul>
134                   <s:iterator id="parentRole" value="#template.parentRoles">
135                         <li>
136                           <s:text name="role.model.role.id"/>: ${parentRole}<br/>
137                         </li>
138                   </s:iterator>
139                 </ul> 
140                 <s:text name="role.model.child.templates"/>:
141                 <ul>
142                   <s:iterator id="childTemplate" value="#template.childTemplates">
143                         <li>
144                           <s:text name="role.model.template.id"/>: ${childTemplate}<br/>
145                         </li>
146                   </s:iterator>
147                 </ul> 
148                 <s:text name="role.model.parent.templates"/>:
149                 <ul>
150                   <s:iterator id="parentTemplate" value="#template.parentTemplates">
151                         <li>
152                           <s:text name="role.model.template.id"/>: ${parentTemplate}<br/>
153                         </li>
154                   </s:iterator>
155                 </ul> 
156         </li>
157         <br/>
158       </s:iterator>
159     </ul>
160
161 </body>
162 </s:i18n>
163 </html>