This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/src/Models/Enums/Privilege.php
Marcin Kurczewski 100303173e Added comment editing support
In other news, editing a post doesn't reload page anymore
(yay for editing tags for Youtube posts)
2014-01-25 16:39:09 +01:00

46 lines
1,002 B
PHP

<?php
class Privilege extends Enum
{
const ListPosts = 1;
const UploadPost = 2;
const ViewPost = 3;
const RetrievePost = 4;
const FavoritePost = 5;
const EditPostSafety = 6;
const EditPostTags = 7;
const EditPostThumb = 8;
const EditPostSource = 26;
const EditPostRelations = 30;
const EditPostFile = 36;
const HidePost = 9;
const DeletePost = 10;
const FeaturePost = 25;
const ScorePost = 31;
const FlagPost = 34;
const ListUsers = 11;
const ViewUser = 12;
const ViewUserEmail = 22;
const BanUser = 13;
const AcceptUserRegistration = 14;
const ChangeUserPassword = 15;
const ChangeUserAccessRank = 16;
const ChangeUserEmail = 17;
const ChangeUserName = 18;
const ChangeUserSettings = 28;
const DeleteUser = 19;
const FlagUser = 35;
const ListComments = 20;
const AddComment = 23;
const DeleteComment = 24;
const EditComment = 37;
const ListTags = 21;
const MergeTags = 27;
const RenameTags = 27;
const MassTag = 29;
const ListLogs = 32;
const ViewLog = 33;
}