Mercurial > kallithea
comparison setup.py @ 8989:e27ff6a90076 stable
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.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 07 May 2023 18:19:38 +0200 |
parents | 11cae16e5a5d |
children | ff6c3e285166 |
comparison
equal
deleted
inserted
replaced
8988:511b20a6475d | 8989:e27ff6a90076 |
---|