Bugzilla – Attachment 138378 Details for
Bug 30624
Add a permission to control the ability to change the logged in library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30624: DB Update to add permission
Bug-30624-DB-Update-to-add-permission.patch (text/plain), 1.13 KB, created by
ByWater Sandboxes
on 2022-07-29 20:58:39 UTC
(
hide
)
Description:
Bug 30624: DB Update to add permission
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2022-07-29 20:58:39 UTC
Size:
1.13 KB
patch
obsolete
>From e6ef5cf34bd60ca91bbfb4f26ffb9fbb491db483 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 14 Jul 2022 15:58:05 +0000 >Subject: [PATCH] Bug 30624: DB Update to add permission > >Signed-off-by: Andrew <andrewfh@gmail.com> >--- > .../mysql/atomicupdate/bug_30624_add_permission.pl | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_30624_add_permission.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_30624_add_permission.pl b/installer/data/mysql/atomicupdate/bug_30624_add_permission.pl >new file mode 100755 >index 0000000000..1c7bff71db >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_30624_add_permission.pl >@@ -0,0 +1,13 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "30624", >+ description => "Add select_loggedin_library permission", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ $dbh->do(q{ >+ INSERT IGNORE INTO permissions (module_bit, code, description) VALUES ( 3, 'select_loggedin_library', 'Allow user to change logged in library'); >+ }); >+ }, >+}; >-- >2.30.2
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 30624
:
136055
|
136076
|
137733
|
138377
|
138378
|
139961
|
139962
|
139963
|
141069
|
141070
|
141071
|
142269
|
142270
|
142271
|
144557
|
144559
|
144584
|
144594
|
144595
|
144596
|
145048
|
145049
|
145631
|
147509
|
147753
|
147754
|
147755
|
147756
|
148116