Skip to content

Commit b56fc7d

Browse files
committed
refs sparkfabrik-innovation-team/board#3833: : Fix user access condition in config.yaml.tftpl to properly check for gitlab_agent_grant_user_access_to_root_namespace
1 parent 775dac6 commit b56fc7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

files/config.yaml.tftpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
ci_access:
33
groups:
44
- id: ${root_namespace}
5-
5+
%{~ if gitlab_agent_grant_user_access_to_root_namespace }
66
user_access:
77
access_as:
88
agent: {}
99
groups:
1010
- id: ${root_namespace}
11+
%{~ endif ~}
1112
%{~ else ~}
1213
%{~ if length(groups_to_enable) > 0 || length(projects_to_enable) > 0 ~}
1314
ci_access:

0 commit comments

Comments
 (0)