Chapter 13. Permission system

Table of Contents

Introduction
Special groups
Basic authorization
Advanced autorization
Code examples
Removing a functionality

Obliquid has a very flexible permission (security) system. A security object can be assigned to any number of users or a groups (or combination). It is recommended that only groups be used in order to simplify the administration of the system. Currently there are four types of security objects defined. These are mainly for convenience and formatting. Once an object is defined, it can be used anywhere. The four types are:

[Note]Performance consideration

The system keeps the security information for a particular user in the $_SESSION array, so checking for permission is a relatively inexpensive operation.