Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
Authentication and privileges
+ Collaboration diagram for Authentication and privileges:


 User groups

Data Structures

class  access
 Class used to check the user privileges. More...
class  authentication
 Class used to check user login/logout actions. More...

Detailed Description


The login/logout actions are checked before rendering the document. This work is carried out by the authentication class.


Methods and functionality may be protected setting some access privileges. Access to such functionality is then granted if the user belongs to a group having such privileges. Who checks if the user may access the protected content is the access class.

Some general privileges exists by default (public view, private view, admin view, admin manage). The specific privileges depends on the module itself and are stored in the database table 'sys_privileges'.