mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-06 04:35:12 -05:00
Only allow admins to modify system_user's multis.
This commit is contained in:
@@ -1351,7 +1351,7 @@ class LabeledMulti(tdb_cassandra.Thing, MultiReddit):
|
||||
return user == self.owner or self.visibility == 'public'
|
||||
|
||||
def can_edit(self, user):
|
||||
if c.user_is_admin:
|
||||
if c.user_is_admin and self.owner == Account.system_user():
|
||||
return True
|
||||
|
||||
return user == self.owner
|
||||
|
||||
Reference in New Issue
Block a user