summaryrefslogtreecommitdiff
path: root/src/application/mystic
diff options
context:
space:
mode:
authorJonas Kohl2024-09-13 23:10:34 +0200
committerJonas Kohl2024-09-13 23:10:34 +0200
commit948cead0f11d33adbcf0d08773c716e1b6ebb101 (patch)
tree527067829595305d0e1bfa87557aa8f5065b7caa /src/application/mystic
parent93817fef3ead7cfd4fcde25ea2bcec02d01310a4 (diff)
More changes
Diffstat (limited to 'src/application/mystic')
-rw-r--r--src/application/mystic/forum/orm/UserPermissions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/application/mystic/forum/orm/UserPermissions.php b/src/application/mystic/forum/orm/UserPermissions.php
index cd2fdf4..47af076 100644
--- a/src/application/mystic/forum/orm/UserPermissions.php
+++ b/src/application/mystic/forum/orm/UserPermissions.php
@@ -33,6 +33,7 @@ final class UserPermissions {
public const DELETE_OTHER_USER = 0x8000;
public const DELETE_OTHER_TOPIC = 0x10000;
+ public const EDIT_OTHER_TOPIC = 0x20000;
////////
@@ -40,6 +41,7 @@ final class UserPermissions {
| self::EDIT_OWN_POST
| self::DELETE_OWN_POST
| self::CREATE_OWN_TOPIC
+ | self::EDIT_OWN_TOPIC
| self::DELETE_OWN_TOPIC
| self::CREATE_OWN_ATTACHMENT
| self::EDIT_OWN_ATTACHMENT
@@ -50,7 +52,8 @@ final class UserPermissions {
public const GROUP_MOD = self::GROUP_USER
| self::EDIT_OTHER_POST
| self::DELETE_OTHER_USER
- | self::DELETE_OTHER_TOPIC;
+ | self::DELETE_OTHER_TOPIC
+ | self::EDIT_OTHER_TOPIC;
public const GROUP_ADMIN = self::GROUP_MOD
| self::CREATE_OTHER_USER