szurubooru/src/Privilege.php

39 lines
1.4 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';
const VIEW_ALL_EMAIL_ADDRESSES = 'viewAllEmailAddresses';
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-09-07 19:49:11 +02:00
const LIST_SAFE_POSTS = 'listSafePosts';
const LIST_SKETCHY_POSTS = 'listSketchyPosts';
const LIST_UNSAFE_POSTS = 'listUnsafePosts';
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-09-07 19:49:11 +02:00
const LIST_TAGS = 'listTags';
2014-09-26 20:41:28 +02:00
const VIEW_HISTORY = 'viewHistory';
2014-09-04 19:57:06 +02:00
}