realm: Create RealmAuditLog entry when removing realm linkifiers.

This commit also adds 'acting_user' parameter to do_remove_linkifier
function.

Fixes a part of #21268.
This commit is contained in:
Sahil Batra
2022-03-14 19:20:55 +05:30
committed by Tim Abbott
parent 4d62915912
commit ef48047dfc
6 changed files with 61 additions and 7 deletions

View File

@@ -4255,6 +4255,7 @@ class AbstractRealmAuditLog(models.Model):
REALM_PLAYGROUND_REMOVED = 222
REALM_LINKIFIER_ADDED = 223
REALM_LINKIFIER_CHANGED = 224
REALM_LINKIFIER_REMOVED = 225
SUBSCRIPTION_CREATED = 301
SUBSCRIPTION_ACTIVATED = 302