diff --git a/buildbot/config/conf/auth.py b/buildbot/config/conf/auth.py index 3026b4c..1397212 100644 --- a/buildbot/config/conf/auth.py +++ b/buildbot/config/conf/auth.py @@ -119,17 +119,17 @@ def fetch_authorization(environment: str): roleMatchers=file_based_group_username_role_matchers, ) - # my_authz = buildbot.plugins.util.Authz( - # allowRules=[ - # buildbot.plugins.util.AnyControlEndpointMatcher( - # role="Developers" - # ), # Organization teams - # ], - # roleMatchers=[ - # buildbot.plugins.util.RolesFromGroups( - # groupPrefix="test-org/" - # ) # Gitea organization - # ], - # ) + my_authz = buildbot.plugins.util.Authz( + allowRules=[ + buildbot.plugins.util.AnyControlEndpointMatcher( + role="Developers" + ), # Organization teams + ], + roleMatchers=[ + buildbot.plugins.util.RolesFromGroups( + groupPrefix="test-org/" + ) # Gitea organization + ], + ) return my_authz