Files @ a17c8e5f6712
Branch filter:

Location: kallithea/dev_requirements.txt - annotation

Søren Løvborg
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.
1
2
3
4
5
6
pytest ~= 3.0
pytest-runner
pytest-sugar>=0.7.0
pytest-catchlog
mock
sphinx