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

Sukhmandeep <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sukhmandeep.benipal@inLibro
                   |                            |.com

--- Comment #28 from Sukhmandeep <[email protected]> ---
The logic for the branchcode has changed slightly, and it seems to be the right
approach. You can access the staff interface with two roles: superlibrarian or
staff. Previously, there were no checks, allowing unrestricted editing and
deleting.

The main issue was with variable names, which weren’t intuitive. To clarify,
the branchcode is linked to the library field (Tools -> HTML customization ->
new entry). Now, superlibrarians have access to all libraries, while staff can
only access their own.

The variable my_branch indicates whether the user is a staff, adjusting the
interface accordingly. I've renamed it for clarity, but that appears to be the
only necessary change at this point.

Regarding the hidden ID of the checkbox, it works similarly: if you're staff
and your library is different, there’s no checkbox, as it allows deletion of
selected items.

-- 
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