Commit 560fd6e7 authored by grisel-davy's avatar grisel-davy Committed by chirac

Suppression du field chambre pour l'auto inscription et l'auto édition

parent be1c0cef
......@@ -543,6 +543,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):
"""Contains the information of the ports' configuration for a switch"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment