[Koha-bugs] [Bug 23650] Restrict access to pages by home library or patron category

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 21 20:59:33 CEST 2023


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

Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caroline.cyr-la-rose at inlibr
                   |                            |o.com

--- Comment #4 from Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> ---
I was discussing something similar with Owen on IRC today. We were talking
about the opac-restrictedpage page, how this is one page that is only
accessible to logged in users.

I thought it would be interesting to move this functionality to the pages and
add an "logged in users only" flag for OPAC pages. This way we could have more
than one restricted page. We could add a limit by patron category, as asked in
this bug.

Here are some thoughts off the top of my head...

- Find away to move the current content of the restricted page to an entry in
the additional_contents table (move RestrictedPageContent to to
additional_contents.content and RestrictedPageTitle to
additional_contents.title)
- How do we change the link that users would have added to an html
customisation to point to the opac-restrictedpage page?
- Getting patron category or home library necessitates that the user be logged
in (unless there is something in apache or something like that I guess?)
- We could add a check box "logged in patrons only" to OPAC pages
- If checked, it could open to a multi-select of patron categories where only
the selected categories would be able to access this page.
- There is already a library limit per page, but it would be nice that this be
multi-select to prevent having to create and maintain a page per library 
- I don't think we'd need to specify RestrictedPageLocalIPs per page, I think
this could stay in the system preferences

What else?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list