mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-23 07:52:23 +00:00
Remove UserPermission model
This commit is contained in:
parent
801f948a7d
commit
c653e0986e
@ -257,10 +257,3 @@ class Permission(models.Model):
|
||||
else:
|
||||
return _("Can {type} {model} in {query}").format(type=self.type, model=self.model, query=self.query)
|
||||
|
||||
|
||||
class UserPermission(models.Model):
|
||||
|
||||
user = models.ForeignKey('auth.User', on_delete=models.CASCADE)
|
||||
|
||||
permission = models.ForeignKey(Permission, on_delete=models.CASCADE)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user