This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/app/Perms/Manage.php

31 lines
540 B
PHP
Raw Normal View History

2015-12-29 21:52:19 +00:00
<?php
2016-02-03 22:22:56 +00:00
/**
* Holds the site management permission flags.
* @package Sakura
*/
2015-12-29 21:52:19 +00:00
namespace Sakura\Perms;
/**
2016-02-02 21:04:15 +00:00
* All site management permission flags.
2015-12-29 21:52:19 +00:00
* @package Sakura
2016-02-02 21:04:15 +00:00
* @author Julian van de Groep <me@flash.moe>
2015-12-29 21:52:19 +00:00
*/
class Manage
{
2016-02-02 21:04:15 +00:00
/**
* Can this user use the management panel?
*/
const USE_MANAGE = 1;
/**
* Can this user toggle the restriction status of users?
*/
const CAN_RESTRICT_USERS = 2;
2016-09-16 19:57:51 +00:00
/**
* Can this user alter other user's profile images?
*/
const CHANGE_IMAGES = 4;
2015-12-29 21:52:19 +00:00
}