Skip to content
Snippets Groups Projects
Verified Commit 25ab0d2e authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Bugfix

parent 751d0561
No related branches found
No related tags found
No related merge requests found
Pipeline #2064 passed
...@@ -2,7 +2,7 @@ image: docker:19.03.12 ...@@ -2,7 +2,7 @@ image: docker:19.03.12
variables: variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 1.9.1 IMAGE_VER: 1.9.2
services: services:
- docker:19.03.12-dind - docker:19.03.12-dind
......
...@@ -19,7 +19,7 @@ sub create ($c) { ...@@ -19,7 +19,7 @@ sub create ($c) {
# Navrh postupu muze predlozit jenom clen # Navrh postupu muze predlozit jenom clen
if ( $args->{type} == 0 && ! $c->user_roles->{member} ) { if ( $args->{type} == 0 && ! $c->user_roles->{member} ) {
return $c->error(401, 'Insufficient permissions'); return $c->error(403, 'Insufficient permissions');
} }
my $program_entry = $c->schema->resultset('ProgramEntry')->search({ my $program_entry = $c->schema->resultset('ProgramEntry')->search({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment