[Koha-cvs] CVS: koha/admin aqbookfund.pl,1.19,1.19.2.1 authorised_values.pl,1.14,1.14.2.1 branches.pl,1.27,1.27.2.1 categorie.pl,1.16.2.1,1.16.2.2 currency.pl,1.10,1.10.2.1 issuingrules.pl,1.3.2.1,1.3.2.2 itemtypes.pl,1.16.2.3,1.16.2.4 stopwords.pl,1.12,1.12.2.1

Paul POULAIN tipaul at users.sourceforge.net
Tue Mar 29 17:41:47 CEST 2005


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

Modified Files:
      Tag: rel_2_2
	aqbookfund.pl authorised_values.pl branches.pl categorie.pl 
	currency.pl issuingrules.pl itemtypes.pl stopwords.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: aqbookfund.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/aqbookfund.pl,v
retrieving revision 1.19
retrieving revision 1.19.2.1
diff -C2 -r1.19 -r1.19.2.1
*** aqbookfund.pl	4 May 2004 16:17:35 -0000	1.19
--- aqbookfund.pl	29 Mar 2005 15:41:42 -0000	1.19.2.1
***************
*** 78,82 ****
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1},
  			     debug => 1,
  			     });
--- 78,82 ----
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1, management => 1},
  			     debug => 1,
  			     });

Index: authorised_values.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/authorised_values.pl,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -C2 -r1.14 -r1.14.2.1
*** authorised_values.pl	16 Mar 2004 13:40:22 -0000	1.14
--- authorised_values.pl	29 Mar 2005 15:41:42 -0000	1.14.2.1
***************
*** 60,64 ****
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1},
  			     debug => 1,
  			     });
--- 60,64 ----
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1, management => 1},
  			     debug => 1,
  			     });

Index: branches.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/branches.pl,v
retrieving revision 1.27
retrieving revision 1.27.2.1
diff -C2 -r1.27 -r1.27.2.1
*** branches.pl	30 Nov 2004 17:40:46 -0000	1.27
--- branches.pl	29 Mar 2005 15:41:42 -0000	1.27.2.1
***************
*** 74,78 ****
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1},
  			     debug => 1,
  			     });
--- 74,78 ----
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1, management => 1},
  			     debug => 1,
  			     });

Index: categorie.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/categorie.pl,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -C2 -r1.16.2.1 -r1.16.2.2
*** categorie.pl	20 Jan 2005 20:20:15 -0000	1.16.2.1
--- categorie.pl	29 Mar 2005 15:41:42 -0000	1.16.2.2
***************
*** 74,78 ****
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1},
  			     debug => 1,
  			     });
--- 74,78 ----
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1, management => 1},
  			     debug => 1,
  			     });

Index: currency.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/currency.pl,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -C2 -r1.10 -r1.10.2.1
*** currency.pl	12 Jan 2004 16:55:05 -0000	1.10
--- currency.pl	29 Mar 2005 15:41:42 -0000	1.10.2.1
***************
*** 81,85 ****
                               query => $input,
                               type => "intranet",
! 			     flagsrequired => {parameters => 1},
  			     authnotrequired => 0,
                               debug => 1,
--- 81,85 ----
                               query => $input,
                               type => "intranet",
! 			     flagsrequired => {parameters => 1, management => 1},
  			     authnotrequired => 0,
                               debug => 1,

Index: issuingrules.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/issuingrules.pl,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -C2 -r1.3.2.1 -r1.3.2.2
*** issuingrules.pl	20 Jan 2005 17:34:30 -0000	1.3.2.1
--- issuingrules.pl	29 Mar 2005 15:41:42 -0000	1.3.2.2
***************
*** 44,48 ****
                               type => "intranet",
                               authnotrequired => 0,
!  			     flagsrequired => {parameters => 1},
  			      debug => 1,
                               });
--- 44,48 ----
                               type => "intranet",
                               authnotrequired => 0,
!  			     flagsrequired => {parameters => 1, management => 1},
  			      debug => 1,
                               });

Index: itemtypes.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/itemtypes.pl,v
retrieving revision 1.16.2.3
retrieving revision 1.16.2.4
diff -C2 -r1.16.2.3 -r1.16.2.4
*** itemtypes.pl	14 Mar 2005 16:52:36 -0000	1.16.2.3
--- itemtypes.pl	29 Mar 2005 15:41:42 -0000	1.16.2.4
***************
*** 78,82 ****
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1},
  			     debug => 1,
  			     });
--- 78,82 ----
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1, management => 1},
  			     debug => 1,
  			     });

Index: stopwords.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/stopwords.pl,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -C2 -r1.12 -r1.12.2.1
*** stopwords.pl	25 Aug 2004 21:35:33 -0000	1.12
--- stopwords.pl	29 Mar 2005 15:41:43 -0000	1.12.2.1
***************
*** 80,84 ****
                              query => $input,
                              type => "intranet",
!  			    flagsrequired => {parameters => 1},
  			    authnotrequired => 0,
                              debug => 1,
--- 80,84 ----
                              query => $input,
                              type => "intranet",
!  			    flagsrequired => {parameters => 1, management => 1},
  			    authnotrequired => 0,
                              debug => 1,





More information about the Koha-cvs mailing list