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 22:52:19 +01:00
<?php
2016-02-03 23:22:56 +01:00
/**
* Holds the site management permission flags.
* @package Sakura
*/
2015-12-29 22:52:19 +01:00
namespace Sakura\Perms;
/**
2016-02-02 22:04:15 +01:00
* All site management permission flags.
2015-12-29 22:52:19 +01:00
* @package Sakura
2016-02-02 22:04:15 +01:00
* @author Julian van de Groep <me@flash.moe>
2015-12-29 22:52:19 +01:00
*/
class Manage
{
2016-02-02 22:04:15 +01: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 21:57:51 +02:00
/**
* Can this user alter other user's profile images?
*/
const CHANGE_IMAGES = 4;
2015-12-29 22:52:19 +01:00
}