koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha admin-home.pl,1.8,1.8.4.1


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha admin-home.pl,1.8,1.8.4.1
Date: Tue, 29 Mar 2005 07:41:46 -0800

Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21746

Modified Files:
      Tag: rel_2_2
        admin-home.pl 
Log Message:
* new permissions : management & tools. You now have 2 new permissions :
        - management : means the user can manage library parameters, but NOT 
system parameters.
        - parameters : means the user can manage all parameters (including 
system parameters : marc structure, authorised values, system preferences. Was 
the only flag previously existing)
        - tools : means the user can import/export datas & edit barcodes.
note that for compatibility reasons, a user having "parameters" can access 
everything.
* new permission scheme. In every template new variables are available. They 
are written CAN_user_permission, with permission being one of the permission 
flag. templates can now show or hidde menu entries depending on user 
permissions. For example, a user with just circ permissions should have only 
the "circulation" button on home page. Templates are NOT updated in this 
version (except for system parameters, as proof of concept), they will be in 
the next ones. But the scheme is ready.


Index: admin-home.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin-home.pl,v
retrieving revision 1.8
retrieving revision 1.8.4.1
diff -C2 -r1.8 -r1.8.4.1
*** admin-home.pl       19 Mar 2003 21:06:17 -0000      1.8
--- admin-home.pl       29 Mar 2005 15:41:43 -0000      1.8.4.1
***************
*** 15,19 ****
                             type => "intranet",
                             authnotrequired => 0,
!                            flagsrequired => {parameters => 1},
                             debug => 1,
                             });
--- 15,19 ----
                             type => "intranet",
                             authnotrequired => 0,
!                            flagsrequired => {parameters => 1, management => 
1, tools => 1},
                             debug => 1,
                             });




reply via email to

[Prev in Thread] Current Thread [Next in Thread]