mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-18 23:44:13 +02:00
Use audit log instead
This commit is contained in:
parent
3b378d3c81
commit
1c0f99eedc
6 changed files with 58 additions and 94 deletions
|
@ -65,16 +65,6 @@ class UserPortfolioPermission(TimeStampedModel):
|
|||
help_text="Select one or more additional permissions.",
|
||||
)
|
||||
|
||||
# TODO - this needs a small script to update existing values
|
||||
invitation = models.ForeignKey(
|
||||
"registrar.PortfolioInvitation",
|
||||
null=True,
|
||||
blank=True,
|
||||
# We don't want to accidentally delete invitations
|
||||
on_delete=models.PROTECT,
|
||||
related_name="created_user_portfolio_permission",
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
readable_roles = []
|
||||
if self.roles:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue