noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
constant.security.php
Go to the documentation of this file.
1<?php
2/*
3 * This file is part of NOALYSS.
4 *
5 * NOALYSS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * NOALYSS is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with NOALYSS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19// Copyright Author Dany De Bontridder danydb@aevalys.eu
20/**
21 * @file
22 * @brief define constant related to the security
23 */
24define ('FICADD',800); /* Ajout de fiche */
25define ("FIC",805); //Création, modification et effacement de fiche
26define ("FICCAT",910); //création, modification et effacement de catégorie de fiche
27define ('RMDOC',1020); // Effacement de document pour follow up & comptabilité
28define ('TAGADD',1025); // Création étiquette
29define ('VIEWDOC',1010); // Voir document pour follow up
30define ('PARCATDOC',1050); // modifier type document pour follow up
31define ('RMRECEIPT',1110); // Effacer un document d'une pièce comptable
32define ('RMOPER',1120); // Effacer une opération comptable
33define ('UPDRECEIPT',1130); // change un numéro de pièce
34define ('UPDDATE',1140); // change date operation
35define ('SHARENOTE',1210); // Can share a note
36define ('SHARENOTEPUBLIC',1220); // Can create public note
37define ('SHARENOTEREMOVE',1230); // Can drop drop of other
38global $audit;
39$audit=false;
40if (defined('AUDIT_ENABLE') && AUDIT_ENABLE == true ) $audit=true;
41?>