Use audit log instead

This commit is contained in:
zandercymatics 2024-11-18 14:01:00 -07:00
parent 3b378d3c81
commit 1c0f99eedc
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
6 changed files with 58 additions and 94 deletions

View file

@ -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: