com-tecnick-tcexam-shared
[ class tree: com-tecnick-tcexam-shared ] [ index: com-tecnick-tcexam-shared ] [ all elements ]

Procedural File: tce_authorization.php

Source Location: /shared/code/tce_authorization.php



Page Details:

This script handles user's sessions.

Just the registered users granted with a username and a password are entitled to access the restricted areas (level > 0) of TCExam and the public area to perform the tests. The user's level is a numeric value that indicates which resources (pages, modules, services) are accessible by the user. To gain access to a specific resource, the user's level must be equal or greater to the one specified for the requested resource. TCExam has 10 predefined user's levels:

  • 0 = anonymous user (unregistered).
  • 1 = basic user (registered);
  • 2-9 = configurable/custom levels;
  • 10 = administrator with full access rights




Tags:

author:  Nicola Asuni
copyright:  Copyright © 2004-2010, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2001-09-26
license:  GNU Affero General Public License


Includes:

require_once('../../shared/code/tce_functions_session.php') [line 67]
require_once('../config/tce_config.php') [line 65]
require_once('../../shared/code/tce_functions_authorization.php') [line 66]
require_once('../../shared/config/tce_cas.php') [line 121]
require_once('../../shared/code/tce_altauth.php') [line 204]
require_once('../../shared/cas/CAS.php') [line 123]
require_once('../../shared/config/tce_httpbasic.php') [line 136]






Documentation generated on Mon, 06 Dec 2010 12:03:03 +0100 by phpDocumentor 1.4.3