mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 00:15:20 +00:00
修改bug
This commit is contained in:
@@ -11,7 +11,7 @@ class Permission(models.Model):
|
|||||||
user = models.ForeignKey(User)
|
user = models.ForeignKey(User)
|
||||||
asset = models.ForeignKey(Asset)
|
asset = models.ForeignKey(Asset)
|
||||||
role = models.CharField(choices=USER_ROLE_CHOICES,
|
role = models.CharField(choices=USER_ROLE_CHOICES,
|
||||||
max_length=1,
|
max_length=2,
|
||||||
blank=True,
|
blank=True,
|
||||||
null=True)
|
null=True)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user