@@ -1,550 +1,559 | |||||
1 | --- |
|
1 | --- | |
2 | permissions_052: |
|
2 | permissions_052: | |
3 | action: destroy_comment |
|
3 | action: destroy_comment | |
4 | id: 52 |
|
4 | id: 52 | |
5 | description: label_comment_delete |
|
5 | description: label_comment_delete | |
6 | controller: news |
|
6 | controller: news | |
7 | mail_enabled: false |
|
7 | mail_enabled: false | |
8 | mail_option: false |
|
8 | mail_option: false | |
9 | sort: 1133 |
|
9 | sort: 1133 | |
10 | is_public: false |
|
10 | is_public: false | |
11 | permissions_041: |
|
11 | permissions_041: | |
12 | action: add_file |
|
12 | action: add_file | |
13 | id: 41 |
|
13 | id: 41 | |
14 | description: button_add |
|
14 | description: button_add | |
15 | controller: projects |
|
15 | controller: projects | |
16 | mail_enabled: false |
|
16 | mail_enabled: false | |
17 | mail_option: true |
|
17 | mail_option: true | |
18 | sort: 1320 |
|
18 | sort: 1320 | |
19 | is_public: false |
|
19 | is_public: false | |
20 | permissions_030: |
|
20 | permissions_030: | |
21 | action: destroy |
|
21 | action: destroy | |
22 | id: 30 |
|
22 | id: 30 | |
23 | description: button_delete |
|
23 | description: button_delete | |
24 | controller: news |
|
24 | controller: news | |
25 | mail_enabled: false |
|
25 | mail_enabled: false | |
26 | mail_option: false |
|
26 | mail_option: false | |
27 | sort: 1122 |
|
27 | sort: 1122 | |
28 | is_public: false |
|
28 | is_public: false | |
29 | permissions_019: |
|
29 | permissions_019: | |
30 | action: download |
|
30 | action: download | |
31 | id: 19 |
|
31 | id: 19 | |
32 | description: button_download |
|
32 | description: button_download | |
33 | controller: issues |
|
33 | controller: issues | |
34 | mail_enabled: false |
|
34 | mail_enabled: false | |
35 | mail_option: false |
|
35 | mail_option: false | |
36 | sort: 1010 |
|
36 | sort: 1010 | |
37 | is_public: true |
|
37 | is_public: true | |
38 | permissions_008: |
|
38 | permissions_008: | |
39 | action: edit |
|
39 | action: edit | |
40 | id: 8 |
|
40 | id: 8 | |
41 | description: button_edit |
|
41 | description: button_edit | |
42 | controller: members |
|
42 | controller: members | |
43 | mail_enabled: false |
|
43 | mail_enabled: false | |
44 | mail_option: false |
|
44 | mail_option: false | |
45 | sort: 221 |
|
45 | sort: 221 | |
46 | is_public: false |
|
46 | is_public: false | |
47 | permissions_053: |
|
47 | permissions_053: | |
48 | action: add_query |
|
48 | action: add_query | |
49 | id: 53 |
|
49 | id: 53 | |
50 | description: button_create |
|
50 | description: button_create | |
51 | controller: projects |
|
51 | controller: projects | |
52 | mail_enabled: false |
|
52 | mail_enabled: false | |
53 | mail_option: false |
|
53 | mail_option: false | |
54 | sort: 600 |
|
54 | sort: 600 | |
55 | is_public: false |
|
55 | is_public: false | |
56 | permissions_042: |
|
56 | permissions_042: | |
57 | action: destroy_file |
|
57 | action: destroy_file | |
58 | id: 42 |
|
58 | id: 42 | |
59 | description: button_delete |
|
59 | description: button_delete | |
60 | controller: versions |
|
60 | controller: versions | |
61 | mail_enabled: false |
|
61 | mail_enabled: false | |
62 | mail_option: false |
|
62 | mail_option: false | |
63 | sort: 1322 |
|
63 | sort: 1322 | |
64 | is_public: false |
|
64 | is_public: false | |
65 | permissions_031: |
|
65 | permissions_031: | |
66 | action: list_documents |
|
66 | action: list_documents | |
67 | id: 31 |
|
67 | id: 31 | |
68 | description: button_list |
|
68 | description: button_list | |
69 | controller: projects |
|
69 | controller: projects | |
70 | mail_enabled: false |
|
70 | mail_enabled: false | |
71 | mail_option: false |
|
71 | mail_option: false | |
72 | sort: 1200 |
|
72 | sort: 1200 | |
73 | is_public: true |
|
73 | is_public: true | |
74 | permissions_020: |
|
74 | permissions_020: | |
75 | action: add_issue |
|
75 | action: add_issue | |
76 | id: 20 |
|
76 | id: 20 | |
77 | description: button_add |
|
77 | description: button_add | |
78 | controller: projects |
|
78 | controller: projects | |
79 | mail_enabled: true |
|
79 | mail_enabled: true | |
80 | mail_option: true |
|
80 | mail_option: true | |
81 | sort: 1050 |
|
81 | sort: 1050 | |
82 | is_public: false |
|
82 | is_public: false | |
83 | permissions_009: |
|
83 | permissions_009: | |
84 | action: destroy |
|
84 | action: destroy | |
85 | id: 9 |
|
85 | id: 9 | |
86 | description: button_delete |
|
86 | description: button_delete | |
87 | controller: members |
|
87 | controller: members | |
88 | mail_enabled: false |
|
88 | mail_enabled: false | |
89 | mail_option: false |
|
89 | mail_option: false | |
90 | sort: 222 |
|
90 | sort: 222 | |
91 | is_public: false |
|
91 | is_public: false | |
92 | permissions_054: |
|
92 | permissions_054: | |
93 | action: show |
|
93 | action: show | |
94 | id: 54 |
|
94 | id: 54 | |
95 | description: button_view |
|
95 | description: button_view | |
96 | controller: repositories |
|
96 | controller: repositories | |
97 | mail_enabled: false |
|
97 | mail_enabled: false | |
98 | mail_option: false |
|
98 | mail_option: false | |
99 | sort: 1450 |
|
99 | sort: 1450 | |
100 | is_public: true |
|
100 | is_public: true | |
101 | permissions_043: |
|
101 | permissions_043: | |
102 | action: move_issues |
|
102 | action: move_issues | |
103 | id: 43 |
|
103 | id: 43 | |
104 | description: button_move |
|
104 | description: button_move | |
105 | controller: projects |
|
105 | controller: projects | |
106 | mail_enabled: false |
|
106 | mail_enabled: false | |
107 | mail_option: false |
|
107 | mail_option: false | |
108 | sort: 1061 |
|
108 | sort: 1061 | |
109 | is_public: false |
|
109 | is_public: false | |
110 | permissions_032: |
|
110 | permissions_032: | |
111 | action: show |
|
111 | action: show | |
112 | id: 32 |
|
112 | id: 32 | |
113 | description: button_view |
|
113 | description: button_view | |
114 | controller: documents |
|
114 | controller: documents | |
115 | mail_enabled: false |
|
115 | mail_enabled: false | |
116 | mail_option: false |
|
116 | mail_option: false | |
117 | sort: 1201 |
|
117 | sort: 1201 | |
118 | is_public: true |
|
118 | is_public: true | |
119 | permissions_021: |
|
119 | permissions_021: | |
120 | action: edit |
|
120 | action: edit | |
121 | id: 21 |
|
121 | id: 21 | |
122 | description: button_edit |
|
122 | description: button_edit | |
123 | controller: issues |
|
123 | controller: issues | |
124 | mail_enabled: false |
|
124 | mail_enabled: false | |
125 | mail_option: false |
|
125 | mail_option: false | |
126 | sort: 1055 |
|
126 | sort: 1055 | |
127 | is_public: false |
|
127 | is_public: false | |
128 | permissions_010: |
|
128 | permissions_010: | |
129 | action: add_version |
|
129 | action: add_version | |
130 | id: 10 |
|
130 | id: 10 | |
131 | description: button_add |
|
131 | description: button_add | |
132 | controller: projects |
|
132 | controller: projects | |
133 | mail_enabled: false |
|
133 | mail_enabled: false | |
134 | mail_option: false |
|
134 | mail_option: false | |
135 | sort: 320 |
|
135 | sort: 320 | |
136 | is_public: false |
|
136 | is_public: false | |
137 | permissions_055: |
|
137 | permissions_055: | |
138 | action: browse |
|
138 | action: browse | |
139 | id: 55 |
|
139 | id: 55 | |
140 | description: label_browse |
|
140 | description: label_browse | |
141 | controller: repositories |
|
141 | controller: repositories | |
142 | mail_enabled: false |
|
142 | mail_enabled: false | |
143 | mail_option: false |
|
143 | mail_option: false | |
144 | sort: 1460 |
|
144 | sort: 1460 | |
145 | is_public: true |
|
145 | is_public: true | |
146 | permissions_044: |
|
146 | permissions_044: | |
147 | action: add_note |
|
147 | action: add_note | |
148 | id: 44 |
|
148 | id: 44 | |
149 | description: label_add_note |
|
149 | description: label_add_note | |
150 | controller: issues |
|
150 | controller: issues | |
151 | mail_enabled: false |
|
151 | mail_enabled: false | |
152 | mail_option: true |
|
152 | mail_option: true | |
153 | sort: 1057 |
|
153 | sort: 1057 | |
154 | is_public: false |
|
154 | is_public: false | |
155 | permissions_033: |
|
155 | permissions_033: | |
156 | action: download |
|
156 | action: download | |
157 | id: 33 |
|
157 | id: 33 | |
158 | description: button_download |
|
158 | description: button_download | |
159 | controller: documents |
|
159 | controller: documents | |
160 | mail_enabled: false |
|
160 | mail_enabled: false | |
161 | mail_option: false |
|
161 | mail_option: false | |
162 | sort: 1202 |
|
162 | sort: 1202 | |
163 | is_public: true |
|
163 | is_public: true | |
164 | permissions_022: |
|
164 | permissions_022: | |
165 | action: change_status |
|
165 | action: change_status | |
166 | id: 22 |
|
166 | id: 22 | |
167 | description: label_change_status |
|
167 | description: label_change_status | |
168 | controller: issues |
|
168 | controller: issues | |
169 | mail_enabled: true |
|
169 | mail_enabled: true | |
170 | mail_option: true |
|
170 | mail_option: true | |
171 | sort: 1060 |
|
171 | sort: 1060 | |
172 | is_public: false |
|
172 | is_public: false | |
173 | permissions_011: |
|
173 | permissions_011: | |
174 | action: edit |
|
174 | action: edit | |
175 | id: 11 |
|
175 | id: 11 | |
176 | description: button_edit |
|
176 | description: button_edit | |
177 | controller: versions |
|
177 | controller: versions | |
178 | mail_enabled: false |
|
178 | mail_enabled: false | |
179 | mail_option: false |
|
179 | mail_option: false | |
180 | sort: 321 |
|
180 | sort: 321 | |
181 | is_public: false |
|
181 | is_public: false | |
182 | permissions_056: |
|
182 | permissions_056: | |
183 | action: entry |
|
183 | action: entry | |
184 | id: 56 |
|
184 | id: 56 | |
185 | description: entry |
|
185 | description: entry | |
186 | controller: repositories |
|
186 | controller: repositories | |
187 | mail_enabled: false |
|
187 | mail_enabled: false | |
188 | mail_option: false |
|
188 | mail_option: false | |
189 | sort: 1462 |
|
189 | sort: 1462 | |
190 | is_public: true |
|
190 | is_public: true | |
191 | permissions_045: |
|
191 | permissions_045: | |
192 | action: export_issues_pdf |
|
192 | action: export_issues_pdf | |
193 | id: 45 |
|
193 | id: 45 | |
194 | description: label_export_pdf |
|
194 | description: label_export_pdf | |
195 | controller: projects |
|
195 | controller: projects | |
196 | mail_enabled: false |
|
196 | mail_enabled: false | |
197 | mail_option: false |
|
197 | mail_option: false | |
198 | sort: 1002 |
|
198 | sort: 1002 | |
199 | is_public: true |
|
199 | is_public: true | |
200 | permissions_034: |
|
200 | permissions_034: | |
201 | action: add_document |
|
201 | action: add_document | |
202 | id: 34 |
|
202 | id: 34 | |
203 | description: button_add |
|
203 | description: button_add | |
204 | controller: projects |
|
204 | controller: projects | |
205 | mail_enabled: false |
|
205 | mail_enabled: false | |
206 | mail_option: true |
|
206 | mail_option: true | |
207 | sort: 1220 |
|
207 | sort: 1220 | |
208 | is_public: false |
|
208 | is_public: false | |
209 | permissions_023: |
|
209 | permissions_023: | |
210 | action: destroy |
|
210 | action: destroy | |
211 | id: 23 |
|
211 | id: 23 | |
212 | description: button_delete |
|
212 | description: button_delete | |
213 | controller: issues |
|
213 | controller: issues | |
214 | mail_enabled: false |
|
214 | mail_enabled: false | |
215 | mail_option: false |
|
215 | mail_option: false | |
216 | sort: 1065 |
|
216 | sort: 1065 | |
217 | is_public: false |
|
217 | is_public: false | |
218 | permissions_012: |
|
218 | permissions_012: | |
219 | action: destroy |
|
219 | action: destroy | |
220 | id: 12 |
|
220 | id: 12 | |
221 | description: button_delete |
|
221 | description: button_delete | |
222 | controller: versions |
|
222 | controller: versions | |
223 | mail_enabled: false |
|
223 | mail_enabled: false | |
224 | mail_option: false |
|
224 | mail_option: false | |
225 | sort: 322 |
|
225 | sort: 322 | |
226 | is_public: false |
|
226 | is_public: false | |
227 | permissions_001: |
|
227 | permissions_001: | |
228 | action: show |
|
228 | action: show | |
229 | id: 1 |
|
229 | id: 1 | |
230 | description: label_overview |
|
230 | description: label_overview | |
231 | controller: projects |
|
231 | controller: projects | |
232 | mail_enabled: false |
|
232 | mail_enabled: false | |
233 | mail_option: false |
|
233 | mail_option: false | |
234 | sort: 100 |
|
234 | sort: 100 | |
235 | is_public: true |
|
235 | is_public: true | |
236 | permissions_057: |
|
236 | permissions_057: | |
237 | action: revisions |
|
237 | action: revisions | |
238 | id: 57 |
|
238 | id: 57 | |
239 | description: label_view_revisions |
|
239 | description: label_view_revisions | |
240 | controller: repositories |
|
240 | controller: repositories | |
241 | mail_enabled: false |
|
241 | mail_enabled: false | |
242 | mail_option: false |
|
242 | mail_option: false | |
243 | sort: 1470 |
|
243 | sort: 1470 | |
244 | is_public: true |
|
244 | is_public: true | |
245 | permissions_046: |
|
245 | permissions_046: | |
246 | action: export_pdf |
|
246 | action: export_pdf | |
247 | id: 46 |
|
247 | id: 46 | |
248 | description: label_export_pdf |
|
248 | description: label_export_pdf | |
249 | controller: issues |
|
249 | controller: issues | |
250 | mail_enabled: false |
|
250 | mail_enabled: false | |
251 | mail_option: false |
|
251 | mail_option: false | |
252 | sort: 1015 |
|
252 | sort: 1015 | |
253 | is_public: true |
|
253 | is_public: true | |
254 | permissions_035: |
|
254 | permissions_035: | |
255 | action: edit |
|
255 | action: edit | |
256 | id: 35 |
|
256 | id: 35 | |
257 | description: button_edit |
|
257 | description: button_edit | |
258 | controller: documents |
|
258 | controller: documents | |
259 | mail_enabled: false |
|
259 | mail_enabled: false | |
260 | mail_option: false |
|
260 | mail_option: false | |
261 | sort: 1221 |
|
261 | sort: 1221 | |
262 | is_public: false |
|
262 | is_public: false | |
263 | permissions_024: |
|
263 | permissions_024: | |
264 | action: add_attachment |
|
264 | action: add_attachment | |
265 | id: 24 |
|
265 | id: 24 | |
266 | description: label_attachment_new |
|
266 | description: label_attachment_new | |
267 | controller: issues |
|
267 | controller: issues | |
268 | mail_enabled: false |
|
268 | mail_enabled: false | |
269 | mail_option: true |
|
269 | mail_option: true | |
270 | sort: 1070 |
|
270 | sort: 1070 | |
271 | is_public: false |
|
271 | is_public: false | |
272 | permissions_013: |
|
272 | permissions_013: | |
273 | action: add_issue_category |
|
273 | action: add_issue_category | |
274 | id: 13 |
|
274 | id: 13 | |
275 | description: button_add |
|
275 | description: button_add | |
276 | controller: projects |
|
276 | controller: projects | |
277 | mail_enabled: false |
|
277 | mail_enabled: false | |
278 | mail_option: false |
|
278 | mail_option: false | |
279 | sort: 420 |
|
279 | sort: 420 | |
280 | is_public: false |
|
280 | is_public: false | |
281 | permissions_002: |
|
281 | permissions_002: | |
282 | action: changelog |
|
282 | action: changelog | |
283 | id: 2 |
|
283 | id: 2 | |
284 | description: label_change_log |
|
284 | description: label_change_log | |
285 | controller: projects |
|
285 | controller: projects | |
286 | mail_enabled: false |
|
286 | mail_enabled: false | |
287 | mail_option: false |
|
287 | mail_option: false | |
288 | sort: 105 |
|
288 | sort: 105 | |
289 | is_public: true |
|
289 | is_public: true | |
290 | permissions_058: |
|
290 | permissions_058: | |
291 | action: revision |
|
291 | action: revision | |
292 | id: 58 |
|
292 | id: 58 | |
293 | description: label_view_revisions |
|
293 | description: label_view_revisions | |
294 | controller: repositories |
|
294 | controller: repositories | |
295 | mail_enabled: false |
|
295 | mail_enabled: false | |
296 | mail_option: false |
|
296 | mail_option: false | |
297 | sort: 1472 |
|
297 | sort: 1472 | |
298 | is_public: true |
|
298 | is_public: true | |
299 | permissions_047: |
|
299 | permissions_047: | |
300 | action: activity |
|
300 | action: activity | |
301 | id: 47 |
|
301 | id: 47 | |
302 | description: label_activity |
|
302 | description: label_activity | |
303 | controller: projects |
|
303 | controller: projects | |
304 | mail_enabled: false |
|
304 | mail_enabled: false | |
305 | mail_option: false |
|
305 | mail_option: false | |
306 | sort: 160 |
|
306 | sort: 160 | |
307 | is_public: true |
|
307 | is_public: true | |
308 | permissions_036: |
|
308 | permissions_036: | |
309 | action: destroy |
|
309 | action: destroy | |
310 | id: 36 |
|
310 | id: 36 | |
311 | description: button_delete |
|
311 | description: button_delete | |
312 | controller: documents |
|
312 | controller: documents | |
313 | mail_enabled: false |
|
313 | mail_enabled: false | |
314 | mail_option: false |
|
314 | mail_option: false | |
315 | sort: 1222 |
|
315 | sort: 1222 | |
316 | is_public: false |
|
316 | is_public: false | |
317 | permissions_025: |
|
317 | permissions_025: | |
318 | action: destroy_attachment |
|
318 | action: destroy_attachment | |
319 | id: 25 |
|
319 | id: 25 | |
320 | description: label_attachment_delete |
|
320 | description: label_attachment_delete | |
321 | controller: issues |
|
321 | controller: issues | |
322 | mail_enabled: false |
|
322 | mail_enabled: false | |
323 | mail_option: false |
|
323 | mail_option: false | |
324 | sort: 1075 |
|
324 | sort: 1075 | |
325 | is_public: false |
|
325 | is_public: false | |
326 | permissions_014: |
|
326 | permissions_014: | |
327 | action: edit |
|
327 | action: edit | |
328 | id: 14 |
|
328 | id: 14 | |
329 | description: button_edit |
|
329 | description: button_edit | |
330 | controller: issue_categories |
|
330 | controller: issue_categories | |
331 | mail_enabled: false |
|
331 | mail_enabled: false | |
332 | mail_option: false |
|
332 | mail_option: false | |
333 | sort: 421 |
|
333 | sort: 421 | |
334 | is_public: false |
|
334 | is_public: false | |
335 | permissions_003: |
|
335 | permissions_003: | |
336 | action: issue_report |
|
336 | action: issue_report | |
337 | id: 3 |
|
337 | id: 3 | |
338 | description: label_report_plural |
|
338 | description: label_report_plural | |
339 | controller: reports |
|
339 | controller: reports | |
340 | mail_enabled: false |
|
340 | mail_enabled: false | |
341 | mail_option: false |
|
341 | mail_option: false | |
342 | sort: 110 |
|
342 | sort: 110 | |
343 | is_public: true |
|
343 | is_public: true | |
344 | permissions_059: |
|
344 | permissions_059: | |
345 | action: diff |
|
345 | action: diff | |
346 | id: 59 |
|
346 | id: 59 | |
347 | description: diff |
|
347 | description: diff | |
348 | controller: repositories |
|
348 | controller: repositories | |
349 | mail_enabled: false |
|
349 | mail_enabled: false | |
350 | mail_option: false |
|
350 | mail_option: false | |
351 | sort: 1480 |
|
351 | sort: 1480 | |
352 | is_public: true |
|
352 | is_public: true | |
353 | permissions_048: |
|
353 | permissions_048: | |
354 | action: calendar |
|
354 | action: calendar | |
355 | id: 48 |
|
355 | id: 48 | |
356 | description: label_calendar |
|
356 | description: label_calendar | |
357 | controller: projects |
|
357 | controller: projects | |
358 | mail_enabled: false |
|
358 | mail_enabled: false | |
359 | mail_option: false |
|
359 | mail_option: false | |
360 | sort: 165 |
|
360 | sort: 165 | |
361 | is_public: true |
|
361 | is_public: true | |
362 | permissions_037: |
|
362 | permissions_037: | |
363 | action: add_attachment |
|
363 | action: add_attachment | |
364 | id: 37 |
|
364 | id: 37 | |
365 | description: label_attachment_new |
|
365 | description: label_attachment_new | |
366 | controller: documents |
|
366 | controller: documents | |
367 | mail_enabled: false |
|
367 | mail_enabled: false | |
368 | mail_option: true |
|
368 | mail_option: true | |
369 | sort: 1223 |
|
369 | sort: 1223 | |
370 | is_public: false |
|
370 | is_public: false | |
371 | permissions_026: |
|
371 | permissions_026: | |
372 | action: list_news |
|
372 | action: list_news | |
373 | id: 26 |
|
373 | id: 26 | |
374 | description: button_list |
|
374 | description: button_list | |
375 | controller: projects |
|
375 | controller: projects | |
376 | mail_enabled: false |
|
376 | mail_enabled: false | |
377 | mail_option: false |
|
377 | mail_option: false | |
378 | sort: 1100 |
|
378 | sort: 1100 | |
379 | is_public: true |
|
379 | is_public: true | |
380 | permissions_015: |
|
380 | permissions_015: | |
381 | action: destroy |
|
381 | action: destroy | |
382 | id: 15 |
|
382 | id: 15 | |
383 | description: button_delete |
|
383 | description: button_delete | |
384 | controller: issue_categories |
|
384 | controller: issue_categories | |
385 | mail_enabled: false |
|
385 | mail_enabled: false | |
386 | mail_option: false |
|
386 | mail_option: false | |
387 | sort: 422 |
|
387 | sort: 422 | |
388 | is_public: false |
|
388 | is_public: false | |
389 | permissions_004: |
|
389 | permissions_004: | |
390 | action: settings |
|
390 | action: settings | |
391 | id: 4 |
|
391 | id: 4 | |
392 | description: label_settings |
|
392 | description: label_settings | |
393 | controller: projects |
|
393 | controller: projects | |
394 | mail_enabled: false |
|
394 | mail_enabled: false | |
395 | mail_option: false |
|
395 | mail_option: false | |
396 | sort: 150 |
|
396 | sort: 150 | |
397 | is_public: false |
|
397 | is_public: false | |
398 | permissions_060: |
|
398 | permissions_060: | |
399 | action: search |
|
399 | action: search | |
400 | id: 61 |
|
400 | id: 61 | |
401 | description: label_search |
|
401 | description: label_search | |
402 | controller: projects |
|
402 | controller: projects | |
403 | mail_enabled: false |
|
403 | mail_enabled: false | |
404 | mail_option: false |
|
404 | mail_option: false | |
405 | sort: 130 |
|
405 | sort: 130 | |
406 | is_public: true |
|
406 | is_public: true | |
407 | permissions_049: |
|
407 | permissions_049: | |
408 | action: gantt |
|
408 | action: gantt | |
409 | id: 49 |
|
409 | id: 49 | |
410 | description: label_gantt |
|
410 | description: label_gantt | |
411 | controller: projects |
|
411 | controller: projects | |
412 | mail_enabled: false |
|
412 | mail_enabled: false | |
413 | mail_option: false |
|
413 | mail_option: false | |
414 | sort: 166 |
|
414 | sort: 166 | |
415 | is_public: true |
|
415 | is_public: true | |
416 | permissions_038: |
|
416 | permissions_038: | |
417 | action: destroy_attachment |
|
417 | action: destroy_attachment | |
418 | id: 38 |
|
418 | id: 38 | |
419 | description: label_attachment_delete |
|
419 | description: label_attachment_delete | |
420 | controller: documents |
|
420 | controller: documents | |
421 | mail_enabled: false |
|
421 | mail_enabled: false | |
422 | mail_option: false |
|
422 | mail_option: false | |
423 | sort: 1224 |
|
423 | sort: 1224 | |
424 | is_public: false |
|
424 | is_public: false | |
425 | permissions_027: |
|
425 | permissions_027: | |
426 | action: show |
|
426 | action: show | |
427 | id: 27 |
|
427 | id: 27 | |
428 | description: button_view |
|
428 | description: button_view | |
429 | controller: news |
|
429 | controller: news | |
430 | mail_enabled: false |
|
430 | mail_enabled: false | |
431 | mail_option: false |
|
431 | mail_option: false | |
432 | sort: 1101 |
|
432 | sort: 1101 | |
433 | is_public: true |
|
433 | is_public: true | |
434 | permissions_016: |
|
434 | permissions_016: | |
435 | action: list_issues |
|
435 | action: list_issues | |
436 | id: 16 |
|
436 | id: 16 | |
437 | description: button_list |
|
437 | description: button_list | |
438 | controller: projects |
|
438 | controller: projects | |
439 | mail_enabled: false |
|
439 | mail_enabled: false | |
440 | mail_option: false |
|
440 | mail_option: false | |
441 | sort: 1000 |
|
441 | sort: 1000 | |
442 | is_public: true |
|
442 | is_public: true | |
443 | permissions_005: |
|
443 | permissions_005: | |
444 | action: edit |
|
444 | action: edit | |
445 | id: 5 |
|
445 | id: 5 | |
446 | description: button_edit |
|
446 | description: button_edit | |
447 | controller: projects |
|
447 | controller: projects | |
448 | mail_enabled: false |
|
448 | mail_enabled: false | |
449 | mail_option: false |
|
449 | mail_option: false | |
450 | sort: 151 |
|
450 | sort: 151 | |
451 | is_public: false |
|
451 | is_public: false | |
452 | permissions_061: |
|
452 | permissions_061: | |
453 | action: search |
|
453 | action: search | |
454 | id: 62 |
|
454 | id: 62 | |
455 | description: label_search |
|
455 | description: label_search | |
456 | controller: projects |
|
456 | controller: projects | |
457 | mail_enabled: false |
|
457 | mail_enabled: false | |
458 | mail_option: false |
|
458 | mail_option: false | |
459 | sort: 130 |
|
459 | sort: 130 | |
460 | is_public: true |
|
460 | is_public: true | |
|
461 | permissions_062: | |||
|
462 | action: roadmap | |||
|
463 | id: 63 | |||
|
464 | description: label_roadmap | |||
|
465 | controller: projects | |||
|
466 | mail_enabled: false | |||
|
467 | mail_option: false | |||
|
468 | sort: 107 | |||
|
469 | is_public: true | |||
461 | permissions_050: |
|
470 | permissions_050: | |
462 | action: history |
|
471 | action: history | |
463 | id: 50 |
|
472 | id: 50 | |
464 | description: label_history |
|
473 | description: label_history | |
465 | controller: issues |
|
474 | controller: issues | |
466 | mail_enabled: false |
|
475 | mail_enabled: false | |
467 | mail_option: false |
|
476 | mail_option: false | |
468 | sort: 1006 |
|
477 | sort: 1006 | |
469 | is_public: true |
|
478 | is_public: true | |
470 | permissions_039: |
|
479 | permissions_039: | |
471 | action: list_files |
|
480 | action: list_files | |
472 | id: 39 |
|
481 | id: 39 | |
473 | description: button_list |
|
482 | description: button_list | |
474 | controller: projects |
|
483 | controller: projects | |
475 | mail_enabled: false |
|
484 | mail_enabled: false | |
476 | mail_option: false |
|
485 | mail_option: false | |
477 | sort: 1300 |
|
486 | sort: 1300 | |
478 | is_public: true |
|
487 | is_public: true | |
479 | permissions_028: |
|
488 | permissions_028: | |
480 | action: add_news |
|
489 | action: add_news | |
481 | id: 28 |
|
490 | id: 28 | |
482 | description: button_add |
|
491 | description: button_add | |
483 | controller: projects |
|
492 | controller: projects | |
484 | mail_enabled: false |
|
493 | mail_enabled: false | |
485 | mail_option: false |
|
494 | mail_option: false | |
486 | sort: 1120 |
|
495 | sort: 1120 | |
487 | is_public: false |
|
496 | is_public: false | |
488 | permissions_017: |
|
497 | permissions_017: | |
489 | action: export_issues_csv |
|
498 | action: export_issues_csv | |
490 | id: 17 |
|
499 | id: 17 | |
491 | description: label_export_csv |
|
500 | description: label_export_csv | |
492 | controller: projects |
|
501 | controller: projects | |
493 | mail_enabled: false |
|
502 | mail_enabled: false | |
494 | mail_option: false |
|
503 | mail_option: false | |
495 | sort: 1001 |
|
504 | sort: 1001 | |
496 | is_public: true |
|
505 | is_public: true | |
497 | permissions_006: |
|
506 | permissions_006: | |
498 | action: list_members |
|
507 | action: list_members | |
499 | id: 6 |
|
508 | id: 6 | |
500 | description: button_list |
|
509 | description: button_list | |
501 | controller: projects |
|
510 | controller: projects | |
502 | mail_enabled: false |
|
511 | mail_enabled: false | |
503 | mail_option: false |
|
512 | mail_option: false | |
504 | sort: 200 |
|
513 | sort: 200 | |
505 | is_public: true |
|
514 | is_public: true | |
506 | permissions_051: |
|
515 | permissions_051: | |
507 | action: add_comment |
|
516 | action: add_comment | |
508 | id: 51 |
|
517 | id: 51 | |
509 | description: label_comment_add |
|
518 | description: label_comment_add | |
510 | controller: news |
|
519 | controller: news | |
511 | mail_enabled: false |
|
520 | mail_enabled: false | |
512 | mail_option: false |
|
521 | mail_option: false | |
513 | sort: 1130 |
|
522 | sort: 1130 | |
514 | is_public: false |
|
523 | is_public: false | |
515 | permissions_040: |
|
524 | permissions_040: | |
516 | action: download |
|
525 | action: download | |
517 | id: 40 |
|
526 | id: 40 | |
518 | description: button_download |
|
527 | description: button_download | |
519 | controller: versions |
|
528 | controller: versions | |
520 | mail_enabled: false |
|
529 | mail_enabled: false | |
521 | mail_option: false |
|
530 | mail_option: false | |
522 | sort: 1301 |
|
531 | sort: 1301 | |
523 | is_public: true |
|
532 | is_public: true | |
524 | permissions_029: |
|
533 | permissions_029: | |
525 | action: edit |
|
534 | action: edit | |
526 | id: 29 |
|
535 | id: 29 | |
527 | description: button_edit |
|
536 | description: button_edit | |
528 | controller: news |
|
537 | controller: news | |
529 | mail_enabled: false |
|
538 | mail_enabled: false | |
530 | mail_option: false |
|
539 | mail_option: false | |
531 | sort: 1121 |
|
540 | sort: 1121 | |
532 | is_public: false |
|
541 | is_public: false | |
533 | permissions_018: |
|
542 | permissions_018: | |
534 | action: show |
|
543 | action: show | |
535 | id: 18 |
|
544 | id: 18 | |
536 | description: button_view |
|
545 | description: button_view | |
537 | controller: issues |
|
546 | controller: issues | |
538 | mail_enabled: false |
|
547 | mail_enabled: false | |
539 | mail_option: false |
|
548 | mail_option: false | |
540 | sort: 1005 |
|
549 | sort: 1005 | |
541 | is_public: true |
|
550 | is_public: true | |
542 | permissions_007: |
|
551 | permissions_007: | |
543 | action: add_member |
|
552 | action: add_member | |
544 | id: 7 |
|
553 | id: 7 | |
545 | description: button_add |
|
554 | description: button_add | |
546 | controller: projects |
|
555 | controller: projects | |
547 | mail_enabled: false |
|
556 | mail_enabled: false | |
548 | mail_option: false |
|
557 | mail_option: false | |
549 | sort: 220 |
|
558 | sort: 220 | |
550 | is_public: false |
|
559 | is_public: false |
@@ -1,124 +1,138 | |||||
1 | # redMine - project management software |
|
1 | # redMine - project management software | |
2 | # Copyright (C) 2006 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006 Jean-Philippe Lang | |
3 | # |
|
3 | # | |
4 | # This program is free software; you can redistribute it and/or |
|
4 | # This program is free software; you can redistribute it and/or | |
5 | # modify it under the terms of the GNU General Public License |
|
5 | # modify it under the terms of the GNU General Public License | |
6 | # as published by the Free Software Foundation; either version 2 |
|
6 | # as published by the Free Software Foundation; either version 2 | |
7 | # of the License, or (at your option) any later version. |
|
7 | # of the License, or (at your option) any later version. | |
8 | # |
|
8 | # | |
9 | # This program is distributed in the hope that it will be useful, |
|
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. |
|
12 | # GNU General Public License for more details. | |
13 | # |
|
13 | # | |
14 | # You should have received a copy of the GNU General Public License |
|
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software |
|
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
17 |
|
17 | |||
18 | require File.dirname(__FILE__) + '/../test_helper' |
|
18 | require File.dirname(__FILE__) + '/../test_helper' | |
19 | require 'projects_controller' |
|
19 | require 'projects_controller' | |
20 |
|
20 | |||
21 | # Re-raise errors caught by the controller. |
|
21 | # Re-raise errors caught by the controller. | |
22 | class ProjectsController; def rescue_action(e) raise e end; end |
|
22 | class ProjectsController; def rescue_action(e) raise e end; end | |
23 |
|
23 | |||
24 | class ProjectsControllerTest < Test::Unit::TestCase |
|
24 | class ProjectsControllerTest < Test::Unit::TestCase | |
25 | fixtures :projects, :permissions |
|
25 | fixtures :projects, :permissions | |
26 |
|
26 | |||
27 | def setup |
|
27 | def setup | |
28 | @controller = ProjectsController.new |
|
28 | @controller = ProjectsController.new | |
29 | @request = ActionController::TestRequest.new |
|
29 | @request = ActionController::TestRequest.new | |
30 | @response = ActionController::TestResponse.new |
|
30 | @response = ActionController::TestResponse.new | |
31 | end |
|
31 | end | |
32 |
|
32 | |||
33 | def test_index |
|
33 | def test_index | |
34 | get :index |
|
34 | get :index | |
35 | assert_response :success |
|
35 | assert_response :success | |
36 | assert_template 'list' |
|
36 | assert_template 'list' | |
37 | end |
|
37 | end | |
38 |
|
38 | |||
39 | def test_list |
|
39 | def test_list | |
40 | get :list |
|
40 | get :list | |
41 | assert_response :success |
|
41 | assert_response :success | |
42 | assert_template 'list' |
|
42 | assert_template 'list' | |
43 | assert_not_nil assigns(:projects) |
|
43 | assert_not_nil assigns(:projects) | |
44 | end |
|
44 | end | |
45 |
|
45 | |||
46 | def test_show |
|
46 | def test_show | |
47 | get :show, :id => 1 |
|
47 | get :show, :id => 1 | |
48 | assert_response :success |
|
48 | assert_response :success | |
49 | assert_template 'show' |
|
49 | assert_template 'show' | |
50 | assert_not_nil assigns(:project) |
|
50 | assert_not_nil assigns(:project) | |
51 | end |
|
51 | end | |
52 |
|
52 | |||
53 | def test_list_members |
|
53 | def test_list_members | |
54 | get :list_members, :id => 1 |
|
54 | get :list_members, :id => 1 | |
55 | assert_response :success |
|
55 | assert_response :success | |
56 | assert_template 'list_members' |
|
56 | assert_template 'list_members' | |
57 | assert_not_nil assigns(:members) |
|
57 | assert_not_nil assigns(:members) | |
58 | end |
|
58 | end | |
59 |
|
59 | |||
60 | def test_list_documents |
|
60 | def test_list_documents | |
61 | get :list_documents, :id => 1 |
|
61 | get :list_documents, :id => 1 | |
62 | assert_response :success |
|
62 | assert_response :success | |
63 | assert_template 'list_documents' |
|
63 | assert_template 'list_documents' | |
64 | assert_not_nil assigns(:documents) |
|
64 | assert_not_nil assigns(:documents) | |
65 | end |
|
65 | end | |
66 |
|
66 | |||
67 | def test_list_issues |
|
67 | def test_list_issues | |
68 | get :list_issues, :id => 1 |
|
68 | get :list_issues, :id => 1 | |
69 | assert_response :success |
|
69 | assert_response :success | |
70 | assert_template 'list_issues' |
|
70 | assert_template 'list_issues' | |
71 | assert_not_nil assigns(:issues) |
|
71 | assert_not_nil assigns(:issues) | |
72 | end |
|
72 | end | |
73 |
|
73 | |||
74 | def test_list_issues_with_filter |
|
74 | def test_list_issues_with_filter | |
75 | get :list_issues, :id => 1, :set_filter => 1 |
|
75 | get :list_issues, :id => 1, :set_filter => 1 | |
76 | assert_response :success |
|
76 | assert_response :success | |
77 | assert_template 'list_issues' |
|
77 | assert_template 'list_issues' | |
78 | assert_not_nil assigns(:issues) |
|
78 | assert_not_nil assigns(:issues) | |
79 | end |
|
79 | end | |
80 |
|
80 | |||
81 | def test_list_issues_reset_filter |
|
81 | def test_list_issues_reset_filter | |
82 | post :list_issues, :id => 1 |
|
82 | post :list_issues, :id => 1 | |
83 | assert_response :success |
|
83 | assert_response :success | |
84 | assert_template 'list_issues' |
|
84 | assert_template 'list_issues' | |
85 | assert_not_nil assigns(:issues) |
|
85 | assert_not_nil assigns(:issues) | |
86 | end |
|
86 | end | |
87 |
|
87 | |||
88 | def test_export_issues_csv |
|
88 | def test_export_issues_csv | |
89 | get :export_issues_csv, :id => 1 |
|
89 | get :export_issues_csv, :id => 1 | |
90 | assert_response :success |
|
90 | assert_response :success | |
91 | assert_not_nil assigns(:issues) |
|
91 | assert_not_nil assigns(:issues) | |
92 | end |
|
92 | end | |
93 |
|
93 | |||
94 | def test_list_news |
|
94 | def test_list_news | |
95 | get :list_news, :id => 1 |
|
95 | get :list_news, :id => 1 | |
96 | assert_response :success |
|
96 | assert_response :success | |
97 | assert_template 'list_news' |
|
97 | assert_template 'list_news' | |
98 | assert_not_nil assigns(:news) |
|
98 | assert_not_nil assigns(:news) | |
99 | end |
|
99 | end | |
100 |
|
100 | |||
101 | def test_list_files |
|
101 | def test_list_files | |
102 | get :list_files, :id => 1 |
|
102 | get :list_files, :id => 1 | |
103 | assert_response :success |
|
103 | assert_response :success | |
104 | assert_template 'list_files' |
|
104 | assert_template 'list_files' | |
105 | assert_not_nil assigns(:versions) |
|
105 | assert_not_nil assigns(:versions) | |
106 | end |
|
106 | end | |
107 |
|
107 | |||
108 | def test_changelog |
|
108 | def test_changelog | |
109 | get :changelog, :id => 1 |
|
109 | get :changelog, :id => 1 | |
110 | assert_response :success |
|
110 | assert_response :success | |
111 | assert_template 'changelog' |
|
111 | assert_template 'changelog' | |
112 | assert_not_nil assigns(:fixed_issues) |
|
112 | assert_not_nil assigns(:fixed_issues) | |
113 | end |
|
113 | end | |
114 |
|
114 | |||
|
115 | def test_roadmap | |||
|
116 | get :roadmap, :id => 1 | |||
|
117 | assert_response :success | |||
|
118 | assert_template 'roadmap' | |||
|
119 | assert_not_nil assigns(:versions) | |||
|
120 | end | |||
|
121 | ||||
|
122 | def test_activity | |||
|
123 | get :activity, :id => 1 | |||
|
124 | assert_response :success | |||
|
125 | assert_template 'activity' | |||
|
126 | assert_not_nil assigns(:events_by_day) | |||
|
127 | end | |||
|
128 | ||||
115 | def test_search |
|
129 | def test_search | |
116 | get :search, :id => 1 |
|
130 | get :search, :id => 1 | |
117 | assert_response :success |
|
131 | assert_response :success | |
118 | assert_template 'search' |
|
132 | assert_template 'search' | |
119 |
|
133 | |||
120 | get :search, :id => 1, :token => "can", :scope => ["issues", "news", "documents"] |
|
134 | get :search, :id => 1, :token => "can", :scope => ["issues", "news", "documents"] | |
121 | assert_response :success |
|
135 | assert_response :success | |
122 | assert_template 'search' |
|
136 | assert_template 'search' | |
123 | end |
|
137 | end | |
124 | end |
|
138 | end |
General Comments 0
You need to be logged in to leave comments.
Login now