Mercurial > kallithea
view dev_requirements.txt @ 6511:a17c8e5f6712
auth: simplify repository permission checks
In practice, Kallithea has the 'repository.admin' permission imply the
'repository.write' permission, which again implies 'repository.read'.
This codifies/enforces this practice by replacing HasRepoPermissionAny
"perm function" with the new HasRepositoryLevel 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 17:23:25 +0100 |
parents | 1f43d08ce5a8 |
children | 3c469080bb2a |
line wrap: on
line source
pytest ~= 3.0 pytest-runner pytest-sugar>=0.7.0 pytest-catchlog mock sphinx