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

24 lines
584 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
}