Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
1695adbe
Commit
1695adbe
authored
Mar 25, 2022
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix role_contact access to last operations bug
parent
eccc3598
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
OperationUtils.php
src/Utils/OperationUtils.php
+1
-1
No files found.
src/Utils/OperationUtils.php
View file @
1695adbe
...
@@ -151,7 +151,7 @@ class OperationUtils
...
@@ -151,7 +151,7 @@ class OperationUtils
return
$user
->
getAdherent
();
return
$user
->
getAdherent
();
}
elseif
(
null
!=
$this
->
session
->
get
(
'_comptoirgere'
)
&&
$user
->
isGranted
(
'ROLE_COMPTOIR'
))
{
}
elseif
(
null
!=
$this
->
session
->
get
(
'_comptoirgere'
)
&&
$user
->
isGranted
(
'ROLE_COMPTOIR'
))
{
return
$this
->
session
->
get
(
'_comptoirgere'
);
return
$this
->
session
->
get
(
'_comptoirgere'
);
}
elseif
(
null
!=
$this
->
session
->
get
(
'_groupegere'
)
&&
$user
->
isGranted
(
'ROLE_GESTION_GROUPE'
))
{
}
elseif
(
null
!=
$this
->
session
->
get
(
'_groupegere'
)
&&
(
$user
->
isGranted
(
'ROLE_GESTION_GROUPE'
)
||
$user
->
isGranted
(
'ROLE_CONTACT'
)
))
{
return
$this
->
session
->
get
(
'_groupegere'
);
return
$this
->
session
->
get
(
'_groupegere'
);
}
elseif
(
$user
->
isGranted
(
'ROLE_ADMIN_SIEGE'
))
{
}
elseif
(
$user
->
isGranted
(
'ROLE_ADMIN_SIEGE'
))
{
$siege
=
$this
->
em
->
getRepository
(
Siege
::
class
)
->
getTheOne
();
$siege
=
$this
->
em
->
getRepository
(
Siege
::
class
)
->
getTheOne
();
...
...
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