szurubooru/src/Models/Privilege.php

27 lines
553 B
PHP
Raw Normal View History

2013-10-06 13:21:16 +02:00
<?php
2013-10-07 23:17:33 +02:00
class Privilege extends Enum
2013-10-06 13:21:16 +02:00
{
2013-10-07 23:17:33 +02:00
const ListPosts = 1;
const UploadPost = 2;
const ViewPost = 3;
const RetrievePost = 4;
2013-10-12 14:53:47 +02:00
const FavoritePost = 5;
2013-10-13 12:28:16 +02:00
const EditPostSafety = 6;
const EditPostTags = 7;
const EditPostThumb = 8;
const HidePost = 9;
const DeletePost = 10;
const ListUsers = 11;
2013-10-14 10:22:53 +02:00
const ViewUser = 12;
const BanUser = 13;
const AcceptUserRegistration = 14;
const ChangeUserPassword = 15;
const ChangeUserAccessRank = 16;
const ChangeUserEmail = 17;
const ChangeUserName = 18;
2013-10-14 10:22:53 +02:00
const ListComments = 19;
const ListTags = 20;
2013-10-06 13:21:16 +02:00
}