Changeset - b4d1e85265c1
default
0
9
0
auth: simplify repository group permission checks
In practice, Kallithea has the 'group.admin' permission imply the
'group.write' permission, which again implies 'group.read'.
This codifies this practice by replacing HasRepoGroupPermissionAny
"perm function" with the new HasRepoGroupLevel function, reducing the
risk of errors and saving quite a lot of typing.
In practice, Kallithea has the 'group.admin' permission imply the
'group.write' permission, which again implies 'group.read'.
This codifies this practice by replacing HasRepoGroupPermissionAny
"perm function" with the new HasRepoGroupLevel function, reducing the
risk of errors and saving quite a lot of typing.
9 files changed with 59 insertions and 66 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)