diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 956117e579e7a9151415f3fc84919b9d5a0bdc2f..7f8caf03326931741dee6d7711c9cecf30b78560 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: docker:latest variables: DOCKER_TLS_CERTDIR: "/certs" - IMAGE_VER: 0.21.2 + IMAGE_VER: 0.21.3 services: - docker:dind diff --git a/lib/CF2022/Helpers/Auth.pm b/lib/CF2022/Helpers/Auth.pm index 99579683cfa30aee1391c72972221ec84ba62f88..82c17bd6ac6bccdec59e869445687a9214bd1b49 100644 --- a/lib/CF2022/Helpers/Auth.pm +++ b/lib/CF2022/Helpers/Auth.pm @@ -8,7 +8,7 @@ use feature 'signatures'; no warnings qw{ experimental::signatures }; use constant KEY_FORMAT => "-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----"; -use constant REGIONS => qr{^(cen|jhc|jhm|kvk|lbk|msk|olk|pak|pha|plk|stc|ulk|vys|zlk|khk):(f|regp)$}; +use constant REGIONS => qr{^(jhc|jhm|kvk|lbk|msk|olk|pak|pha|plk|stc|ulk|vys|zlk|khk):(f|regp)$}; sub register ( $class, $self, $conf) { @@ -90,6 +90,12 @@ sub register ( $class, $self, $conf) { role => $role, }; } + elsif ( $group =~ /cen:regp/ ) { + return { + region => 'Celostátnà fórum', + role => 'regp', + }; + } } });