Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chill-project
Chill-Report
Commits
9c87db15
Commit
9c87db15
authored
May 16, 2018
by
Julien Fastré
Browse files
upgrade ReportVoter to sf3
parent
835b36f2
Pipeline
#52460
failed with stages
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Security/Authorization/ReportVoter.php
View file @
9c87db15
...
...
@@ -75,7 +75,7 @@ class ReportVoter extends AbstractChillVoter implements ProvideRoleHierarchyInte
public
function
getRoles
()
{
return
$this
->
getSupportedAttributes
()
;
return
[
self
::
CREATE
,
self
::
UPDATE
,
self
::
SEE
]
;
}
public
function
getRolesWithoutScope
()
...
...
Write
Preview
Supports
Markdown
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