Gestion des permissions

This commit is contained in:
Rodolphe Quiedeville 2005-08-19 14:15:36 +00:00
parent 898ffbe8b1
commit 84fa5db557
4 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<?PHP
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -22,6 +22,7 @@
require("./pre.inc.php");
if (!$user->rights->telephonie->adsl->lire) accessforbidden();
$mesg = '';

View File

@ -22,6 +22,8 @@
require("./pre.inc.php");
if (!$user->rights->telephonie->adsl->lire) accessforbidden();
$mesg = '';
llxHeader("","","Historique Liaison ADSL");

View File

@ -1,5 +1,5 @@
<?PHP
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -21,12 +21,11 @@
*/
require("./pre.inc.php");
if (!$user->rights->telephonie->adsl->lire) accessforbidden();
$page = $_GET["page"];
$sortorder = $_GET["sortorder"];
if (!$user->rights->telephonie->lire)
accessforbidden();
llxHeader('','Telephonie');
/*

View File

@ -21,6 +21,8 @@
*/
require("./pre.inc.php");
if (!$user->rights->telephonie->adsl->lire) accessforbidden();
$page = $_GET["page"];
$sortorder = $_GET["sortorder"];
$sortfield = $_GET["sortfield"];