Mercurial > kallithea
diff MANIFEST.in @ 6513:ca77c6da2d34
auth: simplify user group permission checks
In practice, Kallithea has the 'usergroup.admin' permission imply the
'usergroup.write' permission, which again implies 'usergroup.read'.
This codifies this practice by replacing the HasUserGroupPermissionAny
"perm function" with the new HasUserGroupLevel function, reducing the
risk of errors and saving quite a lot of typing.
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Mon, 20 Feb 2017 18:40:32 +0100 |
parents | 7894a440e134 |
children | 213085032127 |