Files @ e27ff6a90076
Branch filter:

Location: kallithea/pytype_requirements.txt

Mads Kiilerich
auth: always consider the repo group owner an admin when computing it's permissions

When computing repo group permissions in repository_group_permissions(), always
give admin permissions to the group owner.

That is similar to how repository_permissions() gives admin permissions to the
repo owner.

The extra computation shouldn't cause any extra database hits or make the
computation more complex or expensive, so that should be fine for stable.

Note: This will leave behind some (automaticly added) explicit permissions. I
consider this a very minor glitch, not worth addressing.
1
2
3
4
5
6
7
8
9
# Note: we support pytype on Python3.9
pytype==2021.4.1
# optional modules that we want for pytype checking
ipython
kajiki
psycopg2
python-ldap
python-pam
tgext.debugbar