Bug 38076: (QA follow-up): Make permission edit_catalogue imply fast_cataloging
Any librarian with the edit_catalogue sub-permission should also be able to edit fast catalog records. If that was not true, a cataloger could not convert fast adds into full records. Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
5b124f7a1e
commit
20c38762b8
|
|
@ -515,14 +515,13 @@ my $fa_branch = $input->param('branch');
|
|||
my $fa_stickyduedate = $input->param('stickyduedate');
|
||||
my $fa_duedatespec = $input->param('duedatespec');
|
||||
|
||||
my $userflags = 'edit_catalogue';
|
||||
|
||||
$frameworkcode = &GetFrameworkCode($biblionumber)
|
||||
if ( $biblionumber and not( defined $frameworkcode) and $op ne 'cud-addbiblio' );
|
||||
|
||||
if ($frameworkcode eq 'FA'){
|
||||
$userflags = 'fast_cataloging';
|
||||
}
|
||||
my $userflags =
|
||||
$frameworkcode eq 'FA'
|
||||
? [ 'fast_cataloging', 'edit_catalogue' ]
|
||||
: 'edit_catalogue';
|
||||
|
||||
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue