mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 03:43:12 +00:00
Error synthaxe
This commit is contained in:
parent
4865486e06
commit
10c1c4d0c6
1 changed files with 1 additions and 1 deletions
|
@ -972,7 +972,7 @@ class Right(models.Model):
|
||||||
return str(self.user)
|
return str(self.user)
|
||||||
|
|
||||||
def can_create(user, *args, **kwargs):
|
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"
|
créer des droits"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue