Bugzilla – Attachment 172411 Details for
Bug 38076
Librarians with only fast add permission can no longer edit or create fast add records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38076: (QA follow-up): Make permission edit_catalogue imply fast_cataloging
Bug-38076-QA-follow-up-Make-permission-editcatalog.patch (text/plain), 1.33 KB, created by
Kyle M Hall (khall)
on 2024-10-04 14:59:14 UTC
(
hide
)
Description:
Bug 38076: (QA follow-up): Make permission edit_catalogue imply fast_cataloging
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-10-04 14:59:14 UTC
Size:
1.33 KB
patch
obsolete
>From 2d63f42cb8b4a8de52e444a9bd269898d4b48ea6 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 4 Oct 2024 10:56:44 -0400 >Subject: [PATCH] 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. >--- > cataloguing/addbiblio.pl | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index 4ff9fc31513..d7f556e629c 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -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( > { >-- >2.39.5 (Apple Git-154)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38076
:
172341
|
172363
|
172368
| 172411