1 |
dashley |
35 |
<?php
|
2 |
|
|
//$Header: /hl/cvsroots/gpl01/gpl01/webprojs/fboprime/sw/phplib/permview.inc,v 1.3 2006/07/03 01:45:48 dashley Exp $
|
3 |
|
|
//--------------------------------------------------------------------------------------------------------------
|
4 |
|
|
//permview.inc--FboPrime Permission String Human Interface Functions
|
5 |
|
|
//Copyright (C) 2006 David T. Ashley
|
6 |
|
|
//
|
7 |
|
|
//This program is free software; you can redistribute it and/or
|
8 |
|
|
//modify it under the terms of the GNU General Public License
|
9 |
|
|
//as published by the Free Software Foundation; either version 2
|
10 |
|
|
//of the License, or (at your option) any later version.
|
11 |
|
|
//
|
12 |
|
|
//This program is distributed in the hope that it will be useful,
|
13 |
|
|
//but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
|
|
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
|
|
//GNU General Public License for more details.
|
16 |
|
|
//
|
17 |
|
|
//You should have received a copy of the GNU General Public License
|
18 |
|
|
//along with this program; if not, write to the Free Software
|
19 |
|
|
//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
20 |
|
|
//********************************************************************************
|
21 |
|
|
//This include file contains functions that provide human display, input, and other
|
22 |
|
|
//processing of user permission strings. These functions are packaged separately
|
23 |
|
|
//to try to minimize the include burden for the main scheduling page.
|
24 |
|
|
//
|
25 |
|
|
//The semantics and meanings of all the permission flags are also documented in
|
26 |
|
|
//this file. For the precise format of permission strings, please see perm.inc
|
27 |
|
|
//(which must parse and split them).
|
28 |
|
|
//--------------------------------------------------------------------------------------------------------------
|
29 |
|
|
require_once("global.inc");
|
30 |
|
|
require_once("perm.inc");
|
31 |
|
|
//
|
32 |
|
|
//--------------------------------------------------------------------------------------------------------------
|
33 |
|
|
//Individual permission string attributes. For the attributes marked P/A (presence/absence), the value of
|
34 |
|
|
//of the permission string attribute isn't used--only its existence.
|
35 |
|
|
//
|
36 |
|
|
// canviewlogentries : P/A : Can use the log view page and view all log entries.
|
37 |
|
|
// canviewdbstats : P/A : Can view database statistics.
|
38 |
|
|
// canincsesslifetime : P/A : The user is able to increase the time until they are
|
39 |
|
|
// automatically logged out (useful for line personnel).
|
40 |
|
|
// canresetpasswords : P/A : Can reset passwords of any user whose security level is greater
|
41 |
|
|
// (numerically) than the user's.
|
42 |
|
|
// canviewreservationdetails : P/A : Can view the identity and information for all reservations.
|
43 |
|
|
// (Normal users can't do this because it is a privacy violation.)
|
44 |
|
|
// sesslifetimedefault : int : An integer specifying the session lifetime (in seconds) to be
|
45 |
|
|
// used for this user.
|
46 |
|
|
// sesslifetimeprivesc : int : An integer specifying the session lifetime (in seconds) to be
|
47 |
|
|
// used when priveleges have been escalated by the user.
|
48 |
|
|
// sesslifetimelong : int : The session lifetime to use when the user has increased the
|
49 |
|
|
// lifetime.
|
50 |
|
|
//--------------------------------------------------------------------------------------------------------------
|
51 |
|
|
//End of $RCSfile: permview.inc,v $.
|
52 |
|
|
//--------------------------------------------------------------------------------------------------------------
|
53 |
|
|
?>
|