API Documentation for: 1.1.1
Show:

Privilege Class

Reference for the different user privileges. Located in the namespace Canteen\Authorization.

Item Index

Methods

Properties

Methods

getAll

() Array static

Get a list of all of the privileges

Returns:

Array:

A collection of al privileges (privilege => label)

Properties

ADMINISTRATOR

Int final static

Ability to manage all site options, user, pages and configuration

ANONYMOUS

Int final static

No access

CONTRIBUTOR

Int final static

An authorized user, basic access to make changes

EDITOR

Int final static

Ability to make editorial content changes

GUEST

Int final static

An authorized user ability to see but not to change anything

SUBSCRIBER

Int final static

An authorized user ability to see but not to change anything