/inc/permissions.php

Description

Permission codes for actions

Includes
require_once ('inc/typeinfo.php') (line 14)

Load ancillary functions

Constants
BBPERM_ADMIN_ALL = -1 (line 133)

Permission: Admin user can do anything

BBPERM_ADMIN_BACKUPDB = BBROLE_ADMIN_BACKUPDB (line 128)

Permission: Permission to backup database

BBPERM_ADMIN_BILLING = BBROLE_ADMIN_BILLING (line 126)

Permission: Permission to send out billing reports

BBPERM_ADMIN_CONFIG = BBROLE_ADMIN_CONFIG (line 130)

Permission: Permission to change system settings

BBPERM_ADMIN_CONSUMABLES = BBROLE_ADMIN_CONSUMABLES (line 112)

Permission: Permission to edit consumables

BBPERM_ADMIN_CONSUME = BBROLE_ADMIN_CONSUME (line 114)

Permission: Permission to record consumable usage

BBPERM_ADMIN_COSTS = BBROLE_ADMIN_COSTS (line 116)

Permission: Permission to edit costs

BBPERM_ADMIN_DELETEDBOOKINGS = BBROLE_ADMIN_DELETEDBOOKINGS (line 118)

Permission: Permission to view deleted bookings

BBPERM_ADMIN_EMAILLIST = BBROLE_ADMIN_EMAILLIST (line 122)

Permission: Permission to collect email lists

BBPERM_ADMIN_EXPORT = BBROLE_ADMIN_EXPORT (line 124)

Permission: Permission to export data

BBPERM_ADMIN_GROUPS = BBROLE_ADMIN_GROUPS (line 104)

Permission: Permission to edit groups

BBPERM_ADMIN_INSTRUMENTS = BBROLE_ADMIN_INSTRUMENTS (line 110)

Permission: Permission to edit instruments

BBPERM_ADMIN_MASQ = BBROLE_ADMIN_MASQ (line 120)

Permission: user can masquerade as another user on any instrument

BBPERM_ADMIN_PROJECTS = BBROLE_ADMIN_PROJECTS (line 106)

Permission: Permission to edit projects

BBPERM_ADMIN_USERS = BBROLE_ADMIN_USERS (line 108)

Permission: Permission to edit users

BBPERM_INSTR_ALL = -1 (line 168)

Permission: Instrument admin all functions

BBPERM_INSTR_BASIC = BBPERM_INSTR_VIEW|BBPERM_INSTR_VIEW_BOOKINGS|BBPERM_INSTR_BOOK|BBPERM_INSTR_UNBOOK (line 163)

Permission: Basic instrument user permissions

BBPERM_INSTR_BOOK = BBROLE_MAKE_BOOKINGS (line 149)

Permission: Book instrument

BBPERM_INSTR_BOOK_FREE = BBROLE_MAKE_BOOKINGS_FREE (line 153)

Permission: Book instrument without timeslot restrictions

BBPERM_INSTR_BOOK_FUTURE = BBROLE_MAKE_BOOKINGS_FUTURE (line 151)

Permission: Book instrument any time into the future

BBPERM_INSTR_EDIT_ALL = BBROLE_EDIT_ALL (line 145)

Permission: May edit all bookings on instrument

BBPERM_INSTR_EDIT_CONFIG = BBROLE_ADMIN_INSTRUMENTS (line 161)

Permission: Edit an individual instrument's settings

BBPERM_INSTR_MASQ = BBROLE_ADMIN_MASQ (line 147)

Permission: Masquerade as a user on this instrument

BBPERM_INSTR_READONLY = BBPERM_INSTR_VIEW (line 165)

Permission: Read-only permissions

BBPERM_INSTR_UNBOOK = BBROLE_UNBOOK (line 155)

Permission: Delete own bookings with appropriate notice

BBPERM_INSTR_UNBOOK_OTHER = BBROLE_UNBOOK_OTHER (line 159)

Permission: Delete others' bookings

BBPERM_INSTR_UNBOOK_PAST = BBROLE_UNBOOK_PAST (line 157)

Permission: Delete own bookings without restrictions for appropriate notice

BBPERM_INSTR_VIEW = BBROLE_VIEW_CALENDAR (line 137)

Permission: View instrument booking sheet (free/busy only)

BBPERM_INSTR_VIEW_BOOKINGS = BBROLE_VIEW_BOOKINGS (line 141)

Permission: View bookings on the instrument

BBPERM_INSTR_VIEW_DETAILS = BBROLE_VIEW_BOOKINGS_DETAILS (line 143)

Permission: View admin details of bookings on the instrument

BBPERM_INSTR_VIEW_FUTURE = BBROLE_VIEW_CALENDAR_FUTURE (line 139)

Permission: View instrument booking sheet without restrictions on viewing future bookings

BBPERM_USER_BASIC = BBPERM_USER_LOGOUT|BBPERM_USER_PASSWD (line 98)

Permission: sensible, basic user permissions

BBPERM_USER_LOGOUT = BBROLE_LOGOUT (line 96)

Permission: user log out

BBPERM_USER_MAKE_BOOKINGS_ALL = BBROLE_MAKE_BOOKINGS (line 92)

Permission: user can make bookings

BBPERM_USER_PASSWD = BBROLE_PASSWD (line 94)

Permission: user can change their own password

BBPERM_USER_READONLY = BBPERM_USER_LOGOUT (line 100)

Permission: readonly user permissions

BBPERM_USER_VIEW_ALL = BBPERM_USER_VIEW_LIST_ALL|BBPERM_USER_VIEW_CALENDAR_ALL|BBPERM_USER_VIEW_BOOKINGS_ALL (line 90)

Permission: user do all VIEW actions on all instruments

BBPERM_USER_VIEW_BOOKINGS_ALL = BBROLE_VIEW_BOOKINGS (line 88)

Permission: user can view all instrument bookings

BBPERM_USER_VIEW_CALENDAR_ALL = BBROLE_VIEW_CALENDAR (line 86)

Permission: user can view all instrument calendars

BBPERM_USER_VIEW_LIST_ALL = BBROLE_VIEW_LIST (line 84)

Permission: user can view all instruments on list

BBROLE_ADMIN_BACKUPDB = ($role<<=1) (line 74)

Activity: backup database

BBROLE_ADMIN_BASE = BBROLE_ADMIN_GROUPS (line 79)

Activity: Admin activity flag

BBROLE_ADMIN_BILLING = ($role<<=1) (line 72)

Activity: send out billing reports

BBROLE_ADMIN_CONFIG = ($role<<=1) (line 76)

Activity: change system config

BBROLE_ADMIN_CONSUMABLES = ($role<<=1) (line 58)

Activity: edit consumables

BBROLE_ADMIN_CONSUME = ($role<<=1) (line 60)

Activity: record consumable usage

BBROLE_ADMIN_COSTS = ($role<<=1) (line 62)

Activity: edit costs

BBROLE_ADMIN_DELETEDBOOKINGS = ($role<<=1) (line 64)

Activity: view deleted bookings

BBROLE_ADMIN_EMAILLIST = ($role<<=1) (line 68)

Activity: collect email lists

BBROLE_ADMIN_EXPORT = ($role<<=1) (line 70)

Activity: export data

BBROLE_ADMIN_GROUPS = ($role<<=1) (line 50)

Activity: edit groups

BBROLE_ADMIN_INSTRUMENTS = ($role<<=1) (line 56)

Activity: edit instruments

BBROLE_ADMIN_MASQ = ($role<<=1) (line 66)

Activity: masquerade as another

BBROLE_ADMIN_PROJECTS = ($role<<=1) (line 52)

Activity: edit projects

BBROLE_ADMIN_USERS = ($role<<=1) (line 54)

Activity: edit users

BBROLE_EDIT_ALL = ($role<<=1)|BBROLE_MAKE_BOOKINGS (line 39)

Activity: edit all bookings on instrument

BBROLE_LOGOUT = ($role<<=1) (line 23)

Activity: log out

BBROLE_MAKE_BOOKINGS = ($role<<=1) (line 35)

Activity: make bookings

BBROLE_MAKE_BOOKINGS_FREE = ($role<<=1)|BBROLE_MAKE_BOOKINGS (line 41)

Activity: Book instrument without timeslot restrictions

BBROLE_MAKE_BOOKINGS_FUTURE = ($role<<=1)|BBROLE_MAKE_BOOKINGS (line 37)

Activity: Book instrument any time into the future

BBROLE_NONE = $role=1 (line 19)

Activity: no-op

BBROLE_PASSWD = ($role<<=1) (line 21)

Activity: change own password

BBROLE_UNBOOK = ($role<<=1) (line 43)

Activity: Delete own bookings with appropriate notice

BBROLE_UNBOOK_OTHER = ($role<<=1)|BBROLE_UNBOOK (line 47)

Activity: Delete others' bookings

BBROLE_UNBOOK_PAST = ($role<<=1)|BBROLE_UNBOOK (line 45)

Activity: Delete own bookings without restrictions for appropriate notice

BBROLE_VIEW_BOOKINGS = ($role<<=1) (line 31)

Activity: view instrument bookings

BBROLE_VIEW_BOOKINGS_DETAILS = ($role<<=1)|BBROLE_VIEW_BOOKINGS (line 33)

Activity: view admin details of bookings on the instrument

BBROLE_VIEW_CALENDAR = ($role<<=1) (line 27)

Activity: view instrument calendar

BBROLE_VIEW_CALENDAR_FUTURE = ($role<<=1)|BBROLE_VIEW_CALENDAR (line 29)

Activity: view instrument booking sheet into the distant future

BBROLE_VIEW_LIST = ($role<<=1) (line 25)

Activity: view list

Documentation generated on Tue, 06 Mar 2007 10:01:53 +0000 by phpDocumentor 1.3.0