Commit 97f7214f authored by Skia's avatar Skia 🤘
Browse files

Small right fix

parent d7a065c4
......@@ -541,6 +541,8 @@ class SithFile(models.Model):
return True
if user.is_in_group(settings.SITH_GROUP_COM_ADMIN_ID):
return True
if self.is_in_sas and user.is_in_group(settings.SITH_GROUP_SAS_ADMIN_ID):
return True
return ==
def can_be_viewed_by(self, user):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment