Permissions can be permanent
This commit is contained in:
parent
0776ed416c
commit
4108babdb4
6 changed files with 453 additions and 255 deletions
|
|
@ -170,6 +170,12 @@ class Permission(models.Model):
|
|||
verbose_name=_("field"),
|
||||
)
|
||||
|
||||
permanent = models.BooleanField(
|
||||
default=False,
|
||||
help_text=_("Tells if the permission should be granted even if the membership of the user is expired."),
|
||||
verbose_name=_("permanent"),
|
||||
)
|
||||
|
||||
description = models.CharField(
|
||||
max_length=255,
|
||||
blank=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue