Team-based authorization

This commit is contained in:
Bart van der Braak 2024-11-26 12:33:25 +01:00
parent b91ee462b8
commit 2eb472cc20

View file

@ -119,17 +119,17 @@ def fetch_authorization(environment: str):
roleMatchers=file_based_group_username_role_matchers, roleMatchers=file_based_group_username_role_matchers,
) )
# my_authz = buildbot.plugins.util.Authz( my_authz = buildbot.plugins.util.Authz(
# allowRules=[ allowRules=[
# buildbot.plugins.util.AnyControlEndpointMatcher( buildbot.plugins.util.AnyControlEndpointMatcher(
# role="Developers" role="Developers"
# ), # Organization teams ), # Organization teams
# ], ],
# roleMatchers=[ roleMatchers=[
# buildbot.plugins.util.RolesFromGroups( buildbot.plugins.util.RolesFromGroups(
# groupPrefix="test-org/" groupPrefix="test-org/"
# ) # Gitea organization ) # Gitea organization
# ], ],
# ) )
return my_authz return my_authz