https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39372

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #27 from Jonathan Druart <[email protected]> ---
1. We should be nicer in opac-shelves and send a "not authorized" message
(search for `push @messages` in the script)

2. Wondering if we should not have a safeguard in Koha::Virtualshelf->store,
just in case (there are already several checks there)

Something like:
  if ( ! C4::Context->preference('OpacAllowPublicListCreation')
      && C4::Context->interface eq 'opac'
      && !$self->in_storage ) {
      Koha::Exceptions::Authorization::Unauthorized->throw
  }

3. Do you know exactly the context of the use case? Why would you disallow
creation of private lists for users?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to