diff --git a/app/flatpages/help/ranks_permissions.md b/app/flatpages/help/ranks_permissions.md
index 5737938f..92529306 100644
--- a/app/flatpages/help/ranks_permissions.md
+++ b/app/flatpages/help/ranks_permissions.md
@@ -34,6 +34,8 @@ title: Ranks and Permissions
N |
Y |
N |
+ Y |
+ N |
@@ -58,7 +60,7 @@ title: Ranks and Permissions
|
|
|
- ✓ |
+ |
|
✓ |
✓ |
@@ -101,7 +103,7 @@ title: Ranks and Permissions
Approve Screenshot |
|
|
- ✓ |
+ |
|
✓ |
|
@@ -187,6 +189,21 @@ title: Ranks and Permissions
✓ |
✓ |
+
+ See Private Thread |
+ ✓ |
+ |
+ ✓ |
+ |
+ ✓ |
+ |
+ ✓ |
+ ✓ |
+ ✓ |
+ ✓ |
+ ✓ |
+ ✓ |
+
Set Email |
✓ |
diff --git a/app/models.py b/app/models.py
index c402d098..0452009f 100644
--- a/app/models.py
+++ b/app/models.py
@@ -489,12 +489,11 @@ class Package(db.Model):
else:
return user.rank.atLeast(UserRank.EDITOR)
- # Editors can change authors
- elif perm == Permission.CHANGE_AUTHOR:
+ # Editors can change authors and approve new packages
+ elif perm == Permission.APPROVE_NEW or perm == Permission.CHANGE_AUTHOR:
return user.rank.atLeast(UserRank.EDITOR)
- elif perm == Permission.APPROVE_NEW or perm == Permission.APPROVE_RELEASE \
- or perm == Permission.APPROVE_SCREENSHOT:
+ elif perm == Permission.APPROVE_RELEASE or perm == Permission.APPROVE_SCREENSHOT:
return user.rank.atLeast(UserRank.TRUSTED_MEMBER if isOwner else UserRank.EDITOR)
# Moderators can delete packages