szurubooru/src/Privilege.php

61 lines
2.2 KiB
PHP
Raw Normal View History

2014-09-04 19:57:06 +02:00
<?php
namespace Szurubooru;
class Privilege
{
const REGISTER = 'register';
const LIST_USERS = 'listUsers';
2014-09-30 22:09:43 +02:00
const VIEW_USERS = 'viewUsers';
const VIEW_ALL_EMAIL_ADDRESSES = 'viewAllEmailAddresses';
const VIEW_ALL_ACCESS_RANKS = 'viewAllAccessRanks';
const CHANGE_ACCESS_RANK = 'changeAccessRank';
const CHANGE_OWN_AVATAR_STYLE = 'changeOwnAvatarStyle';
const CHANGE_OWN_EMAIL_ADDRESS = 'changeOwnEmailAddress';
const CHANGE_OWN_NAME = 'changeOwnName';
const CHANGE_OWN_PASSWORD = 'changeOwnPassword';
const CHANGE_ALL_AVATAR_STYLES = 'changeAllAvatarStyles';
const CHANGE_ALL_EMAIL_ADDRESSES = 'changeAllEmailAddresses';
const CHANGE_ALL_NAMES = 'changeAllNames';
const CHANGE_ALL_PASSWORDS = 'changeAllPasswords';
const DELETE_OWN_ACCOUNT = 'deleteOwnAccount';
const DELETE_ALL_ACCOUNTS = 'deleteAllAccounts';
2014-10-14 22:38:02 +02:00
const BAN_USERS = 'banUsers';
2014-09-07 19:49:11 +02:00
2014-09-30 22:09:43 +02:00
const LIST_POSTS = 'listPosts';
const VIEW_POSTS = 'viewPosts';
2014-09-07 19:49:11 +02:00
const UPLOAD_POSTS = 'uploadPosts';
2014-09-15 11:38:24 +02:00
const UPLOAD_POSTS_ANONYMOUSLY = 'uploadPostsAnonymously';
2014-09-23 20:18:12 +02:00
const DELETE_POSTS = 'deletePosts';
2014-09-24 23:24:51 +02:00
const FEATURE_POSTS = 'featurePosts';
2014-09-25 19:11:41 +02:00
const CHANGE_POST_SAFETY = 'changePostSafety';
const CHANGE_POST_SOURCE = 'changePostSource';
const CHANGE_POST_TAGS = 'changePostTags';
const CHANGE_POST_CONTENT = 'changePostContent';
const CHANGE_POST_THUMBNAIL = 'changePostThumbnail';
2014-09-25 23:53:47 +02:00
const CHANGE_POST_RELATIONS = 'changePostRelations';
2014-10-09 09:45:06 +02:00
const CHANGE_POST_FLAGS = 'changePostFlags';
2014-09-07 19:49:11 +02:00
2014-10-25 23:04:43 +02:00
const ADD_POST_NOTES = 'addPostNotes';
const EDIT_POST_NOTES = 'editPostNotes';
const DELETE_POST_NOTES = 'deletePostNotes';
2014-09-07 19:49:11 +02:00
const LIST_TAGS = 'listTags';
2014-10-09 23:46:32 +02:00
const MASS_TAG = 'massTag';
2014-10-10 09:53:05 +02:00
const CHANGE_TAG_NAME = 'changeTagName';
2014-10-19 13:05:21 +02:00
const CHANGE_TAG_CATEGORY = 'changeTagCategory';
const CHANGE_TAG_IMPLICATIONS = 'changeTagImplications';
const CHANGE_TAG_SUGGESTIONS = 'changeTagSuggestions';
2014-10-14 22:56:15 +02:00
const BAN_TAGS = 'banTags';
2014-11-04 19:26:27 +01:00
const DELETE_TAGS = 'deleteTags';
2014-11-10 11:56:30 +01:00
const MERGE_TAGS = 'mergeTags';
2014-09-26 20:41:28 +02:00
2014-10-04 13:56:38 +02:00
const LIST_COMMENTS = 'listComments';
const ADD_COMMENTS = 'addComments';
const EDIT_OWN_COMMENTS = 'editOwnComments';
const EDIT_ALL_COMMENTS = 'editAllComments';
const DELETE_OWN_COMMENTS = 'deleteOwnComments';
const DELETE_ALL_COMMENTS = 'deleteAllComments';
2014-09-26 20:41:28 +02:00
const VIEW_HISTORY = 'viewHistory';
2014-09-04 19:57:06 +02:00
}