Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
e3db0de8
Commit
e3db0de8
authored
Jul 13, 2016
by
Bertrand Gauthier
Browse files
Ouverture au public de UserContext::isRoleValid().
parent
0bdb8970
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Service/UserContext.php
View file @
e3db0de8
...
...
@@ -294,7 +294,7 @@ class UserContext extends AbstractService implements EventManagerAwareInterface
*
* @return boolean
*/
p
rotected
function
isRoleValid
(
$role
)
p
ublic
function
isRoleValid
(
$role
)
{
if
(
$role
instanceof
RoleInterface
)
{
$role
=
$role
->
getRoleId
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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