Skip to content

Commit

Permalink
Corrige l’ancien check d’authorization (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
niladic authored Jun 2, 2021
1 parent 3bee312 commit ebb71a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/editProfile.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h4 class="mdl-cell mdl-cell--8-col mdl-cell--12-col-phone">Mon profil</h4>
<div class="mdl-cell mdl-cell--8-col mdl-cell--12-col-phone">Vous appartenez aux groupes suivants :</div>
@for(group <- groups) {
<div>
@if(Authorization.canEditGroups(currentUserRights)) {
@if(Authorization.canEditGroup(group)(currentUserRights)) {
<a href="@routes.GroupController.editGroup(group.id)">@group.name</a>
} else {
@group.name
Expand Down

0 comments on commit ebb71a8

Please sign in to comment.