Bug 9605: rotating collections permissions are wrong

In tools / rotating collections, permissions are 'parameters => 1'.
But there is a dedicated permission : tools => rotating_collections.

Test plan :
- Disable tools/rotating_collections permission to your connected user
- Check you dont have access to those pages :
  rotating_collections/addItems.pl
  rotating_collections/editCollections.pl
  rotating_collections/rotatingCollections.pl
  rotating_collections/transferCollection.pl
- Enable tools/rotating_collections permission to your connected user
- Check you have access to above pages

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixes wrong permission on rotating collection related pages.
This will allow to block access to those.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Fridolyn SOMERS 2013-02-13 10:29:15 +01:00 committed by Jared Camins-Esakov
parent bbf046fb4f
commit 76c3649db3
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ my ($template, $loggedinuser, $cookie)
query => $query,
type => "intranet",
authnotrequired => 0,
flagsrequired => {parameters => 1},
flagsrequired => { tools => 'rotating_collections' },
debug => 1,
});

View File

@ -33,7 +33,7 @@ my ($template, $loggedinuser, $cookie)
query => $query,
type => "intranet",
authnotrequired => 0,
flagsrequired => {parameters => 1},
flagsrequired => { tools => 'rotating_collections' },
debug => 1,
});

View File

@ -33,7 +33,7 @@ my ($template, $loggedinuser, $cookie)
query => $query,
type => "intranet",
authnotrequired => 0,
flagsrequired => {parameters => 1},
flagsrequired => { tools => 'rotating_collections' },
debug => 1,
});

View File

@ -38,7 +38,7 @@ my ($template, $loggedinuser, $cookie)
query => $query,
type => "intranet",
authnotrequired => 0,
flagsrequired => {parameters => 1},
flagsrequired => { tools => 'rotating_collections' },
debug => 1,
});