diff options
author | Wim <wim@42.be> | 2022-09-28 01:25:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 01:25:40 +0200 |
commit | 889a41c6a834debafc16cb76abade0fdc8c2bd5b (patch) | |
tree | 7972567fdefe30c1ed6feb06c37a4dfccc6516c5 /options | |
parent | dabc06d13b02fec3887dbf4f7f2f4eeb44efcf89 (diff) | |
download | gitea-889a41c6a834debafc16cb76abade0fdc8c2bd5b.tar.gz gitea-889a41c6a834debafc16cb76abade0fdc8c2bd5b.zip |
Do not allow organisation owners add themselves as collaborator (#20043)
We're already checking for repo owners, but we also need to check for
organisation owners that try to add themselves as collaborator
Closes #17966
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index b62395e546..991ebf344f 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1898,6 +1898,7 @@ settings.confirm_delete = Delete Repository settings.add_collaborator = Add Collaborator settings.add_collaborator_success = The collaborator has been added. settings.add_collaborator_inactive_user = Can not add an inactive user as a collaborator. +settings.add_collaborator_owner = Can not add an owner as a collaborator. settings.add_collaborator_duplicate = The collaborator is already added to this repository. settings.delete_collaborator = Remove settings.collaborator_deletion = Remove Collaborator |