[Koha-bugs] [Bug 34631] Independentbranches - Non-superuser should not be able to write Additional contents for other branches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 7 20:38:12 CET 2024


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

--- Comment #17 from Myka Kennedy Stephens <mkstephens at fosgail.org> ---
I've been doing git pulls outside of Koha testing docker, which was making it
look like my Koha repository was updating, but I guess it wasn't. I did a git
pull from within the ktd shell, applied the patch, and then it worked!

Applying the patch has the desired effect that a non-superuser from another
branch has the option to preview HTML content but the edit and delete buttons
are hidden from content for other branches and all libraries.

After signing-off, I am having some trouble with steps 9 and 10 of the test
plan. After trying to save new content with the limited-access user, I get the
following error: Template process failed: undef error - The method
Koha::AdditionalContent->idnew is not covered by tests!

This error persists to the superuser login. When I do a hard reset to master,
the error goes away and I can see the content that I attempted to add and save
before I got the error.

Hoping QA or a second tester can look into this further. I'm leaving it as
signed off, but please change if there's a more appropriate status.

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


More information about the Koha-bugs mailing list