Show More
@@ -118,6 +118,7 b' class DbManage(object):' | |||
|
118 | 118 | ('repository.read', 'Repository read access'), |
|
119 | 119 | ('repository.write', 'Repository write access'), |
|
120 | 120 | ('repository.admin', 'Repository admin access'), |
|
121 | ('hg.admin', 'Hg Administrator'), | |
|
121 | 122 | ] |
|
122 | 123 | |
|
123 | 124 | for p in perms: |
@@ -296,5 +296,10 b' rfc3339date = lambda x: util.datestr(x,' | |||
|
296 | 296 | time_ago = lambda x: util.datestr(_age(x), "%a, %d %b %Y %H:%M:%S %1%2") |
|
297 | 297 | |
|
298 | 298 | |
|
299 | #=============================================================================== | |
|
300 | # PERMS | |
|
301 | #=============================================================================== | |
|
302 | from pylons_app.lib.auth import HasPermissionAny, HasPermissionAll, \ | |
|
303 | HasRepoPermissionAny, HasRepoPermissionAll | |
|
299 | 304 | |
|
300 | 305 |
General Comments 0
You need to be logged in to leave comments.
Login now