From ecabeb71cff45ec53fe874d98716ba1d51799d89 Mon Sep 17 00:00:00 2001 From: niladic Date: Wed, 2 Jun 2021 19:01:10 +0200 Subject: [PATCH] =?UTF-8?q?Corrige=20l=E2=80=99ancien=20check=20d=E2=80=99?= =?UTF-8?q?authorization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/editProfile.scala.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/editProfile.scala.html b/app/views/editProfile.scala.html index 0f8e5e80f..0f7c6b6dd 100644 --- a/app/views/editProfile.scala.html +++ b/app/views/editProfile.scala.html @@ -67,7 +67,7 @@

Mon profil

Vous appartenez aux groupes suivants :
@for(group <- groups) {
- @if(Authorization.canEditGroups(currentUserRights)) { + @if(Authorization.canEditGroup(group)(currentUserRights)) { @group.name } else { @group.name