[Koha-bugs] [Bug 26346] Add option to make a public list editable by library staff only
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 25 23:38:29 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26346
--- Comment #104 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
(In reply to Alex Buckley from comment #95)
> Hi Caroline,
>
> I've rebased this patchset against master. Would you mind testing this
> patchset in a sandbox (https://wiki.koha-community.org/wiki/Sandboxes) to
> see if you still encounter the problems in comment #86?
>
> ---
>
> (In reply to Blou from comment #89)
> > This patch would be very helpful to some of our customers. But what would
> > it take to extend the concept to private lists to be viewable by staff ?
> >
> > There's Bug 19501 opened for that, but it seems to me this patch here is
> > almost there already.
>
> Hi Blou,
>
> Apologies for my slow response! My team has been flat out with client work
> recently.
>
> I'll have a think about this and try to get back to you as soon as possible.
>
> Thanks,
> Alex
Hi Blou,
Yes, extending this patchset to implement functionality requested in Bug 19501
would be straightforward except for the fact that the virtualshelves.category
has been changed to a boolean virtualshelves.public field in bug 28959.
Meaning adding a third option of 'Restricted', or 'Staff client only' in that
field, would be regressing 28959.
However, the way I would approach the functionality you're after is:
* Change virtualshelves.public back to virtualshelves.category
* Add a new option to virtualshelves.category of 3 (Staff client only)
* Add two new patron lists sub-permissions:
- 'Delete staff client lists (delete_staff_client_lists)'
- 'Edit staff client lists (edit_staff_client_lists)'
When a 'staff client only' list is created it would be viewable by all
logged-in users on the staff client. It would not be visible to anyone in the
OPAC.
Only users with the 'edit_staff_client_lists' sub-permission would be able to
edit it. Similarly, it would only be deletable by users with the
'delete_staff_client_lists' sub-permission.
Thanks!
Alex
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list