Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
checklistapi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
checklistapi
Commits
34d10843
Commit
34d10843
authored
Dec 25, 2016
by
TravisCarden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2837327
: InvalidArgumentException in route access check on update.php
parent
a672e71e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/Access/ChecklistapiAccessCheck.php
src/Access/ChecklistapiAccessCheck.php
+5
-0
No files found.
src/Access/ChecklistapiAccessCheck.php
View file @
34d10843
...
...
@@ -40,6 +40,11 @@ class ChecklistapiAccessCheck implements AccessInterface {
$op
=
!
empty
(
$op
)
?
$op
:
'any'
;
$id
=
$request
->
attributes
->
get
(
'checklist_id'
);
if
(
!
$id
)
{
return
AccessResult
::
neutral
();
}
return
AccessResult
::
allowedIf
(
checklistapi_checklist_access
(
$id
,
$op
));
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment