mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
Error synthaxe
This commit is contained in:
parent
3284760fa1
commit
781085c643
1 changed files with 1 additions and 1 deletions
|
@ -972,7 +972,7 @@ class Right(models.Model):
|
|||
return str(self.user)
|
||||
|
||||
def can_create(user, *args, **kwargs):
|
||||
return user.has_perms('bureau'), u"Vous n'avez pas le droit de\
|
||||
return user.has_perms(('bureau',)), u"Vous n'avez pas le droit de\
|
||||
créer des droits"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue