https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38278
Bug ID: 38278
Summary: Having access to subfund but not parent fund will
break filters in acqui-home
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Acquisitions
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
If you have access to sub founds but not to the found they are children of,
filters will be broken as soon as you try to access acqui-home.
To reproduce:
Prerequisites: 1 superlibrarian (S) and two staff members (A & B)
1 - Set permissions of A to: staff interface and budget_manage (do NOT check
budget_manage_all).
2 - Set permissions of librarian B to: staff interface, acquisitions
3 - Create an active budget
4 - In this budget create a found (F1), give librarian B the ownership
5 - In this fund, create two subfound (SF1 and SF2), give librarian A the
ownership
6 - create an inactive budget with a found (IF1)
7 - Log in as A, go to acquisition.pl, notice eveything works, you can see
found F1, subfounds SF1 and SF2 and inactive found IF1, buttons "Expand all","
Collapse all","Hide inactive budgets ","Show inactive budgets" and dropdown
menu work.
8 - Go to F1 and restrict the access to owner
9 - Repeat 6 -> the datatable is broken, you do not see F1 (expected) see SF1
and SF2 (expected) and see inactive found IF1 (unexpected), buttons "Expand
all"," Collapse all","Hide inactive budgets ","Show inactive budgets" and
dropdown menu do not work anymore + you have a js error in your console.
This is very probably due to the tree structure not working since the parent
node of owned subfounds is not returned by acqui-home.pl
--
You are receiving this mail because:
You are the assignee for the bug.
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/