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/libraries/Perms/Forum.php

26 lines
673 B
PHP
Raw Normal View History

2015-12-29 01:27:49 +00:00
<?php
/*
* Forum permissions
*/
namespace Sakura\Perms;
/**
* Class Forum
* @package Sakura
*/
class Forum
{
const VIEW = 1; // Can view this forum
const REPLY = 2; // Can reply to threads in this forum
const CREATE_THREADS = 4; // Can create threads in this forum
const EDIT_OWN = 8; // Can edit their posts
const DELETE_OWN = 16; // Can delete theirs posts
const STICKY = 32; // Can sticky threads
const ANNOUNCEMENT = 64; // Can announce threads
const EDIT_ANY = 128; // Can edit any post
const DELETE_ANY = 256; // Can delete any post
2016-01-10 18:24:47 +00:00
const LOCK = 512; // Can (un)lock threads
const MOVE = 1024; // Can move threads
2015-12-29 01:27:49 +00:00
}