Skip to content

Commit e07f7df

Browse files
committed
feat(admin-log): added enums for user and groups (#3833)
1 parent e8b0c2b commit e07f7df

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

phpmyfaq/src/phpMyFAQ/Enums/AdminLogType.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,17 @@ enum AdminLogType: string
5454

5555
// Configuration
5656
case CONFIG_CHANGE = 'config-change';
57+
58+
// User management
59+
case USER_ADD = 'user-add';
60+
case USER_EDIT = 'user-edit';
61+
case USER_DELETE = 'user-delete';
62+
case USER_CHANGE_PASSWORD = 'user-change-password';
63+
case USER_CHANGE_PERMISSIONS = 'user-change-permissions';
64+
65+
// Group management
66+
case GROUP_ADD = 'group-add';
67+
case GROUP_EDIT = 'group-edit';
68+
case GROUP_DELETE = 'group-delete';
69+
case GROUP_CHANGE_PERMISSIONS = 'group-change-permissions';
5770
}

0 commit comments

Comments
 (0)