mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-24 20:33:11 +00:00
Suppression du field chambre pour l'auto inscription et l'auto édition
This commit is contained in:
parent
be1c0cef22
commit
560fd6e723
1 changed files with 3 additions and 0 deletions
|
@ -542,6 +542,9 @@ class Room(AclMixin, RevMixin, models.Model):
|
|||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
def can_change(user_request,*_args, **_kwargs):
|
||||
return user_request.has_perm('users.change_user')
|
||||
|
||||
|
||||
class PortProfile(AclMixin, RevMixin, models.Model):
|
||||
|
|
Loading…
Reference in a new issue