Bugzilla – Attachment 148646 Details for
Bug 30418
Add permission and setting for public lists to allow staff with permission to edit contents
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30418: Updated schema file
Bug-30418-Updated-schema-file.patch (text/plain), 1.69 KB, created by
Kyle M Hall (khall)
on 2023-03-24 10:52:50 UTC
(
hide
)
Description:
Bug 30418: Updated schema file
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-03-24 10:52:50 UTC
Size:
1.69 KB
patch
obsolete
>From 47ec69025b8809835d1ec2c20336393f8e66f654 Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >Date: Wed, 17 Aug 2022 20:06:57 +0000 >Subject: [PATCH] Bug 30418: Updated schema file > >Sponsored-by: Catalyst IT, New Zealand > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > Koha/Schema/Result/Virtualshelve.pm | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Virtualshelve.pm b/Koha/Schema/Result/Virtualshelve.pm >index 8ca7998e3c3..6fc6e765f07 100644 >--- a/Koha/Schema/Result/Virtualshelve.pm >+++ b/Koha/Schema/Result/Virtualshelve.pm >@@ -105,6 +105,14 @@ can others change contents? > > can staff change contents? > >+=head2 allow_change_from_permitted_staff >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 1 >+ >+can staff with edit_public_list_contents permission change contents? >+ > =cut > > __PACKAGE__->add_columns( >@@ -142,6 +150,8 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 0, is_nullable => 1 }, > "allow_change_from_staff", > { data_type => "tinyint", default_value => 0, is_nullable => 1 }, >+ "allow_change_from_permitted_staff", >+ { data_type => "tinyint", default_value => 0, is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -209,8 +219,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-12 10:03:27 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dzF83u6fWMs2YRrG2yBD8w >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-08-17 19:59:33 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EKq7nDW2AeZ2NQce2BPMWA > > sub koha_object_class { > 'Koha::Virtualshelf'; >-- >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 30418
:
139696
|
139697
|
139698
|
139699
|
139700
|
139701
|
146363
|
146364
|
146365
|
146366
|
146367
|
146368
|
146374
|
146375
|
146376
|
146377
|
146378
|
146379
|
146609
|
148645
| 148646 |
148647
|
148648
|
148649
|
148650
|
148651
|
148652
|
151249