http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7304
Julian Maurice <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|[email protected] |[email protected] |om | --- Comment #1 from Julian Maurice <[email protected]> --- Created attachment 9681 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9681&action=edit More permissions for budgets - Possibility to add users to a budget - Restrictions changed to: - None - Owner - Owner and users - Owner, users and library - Restricted users cannot spent on these budgets (they cannot modify them either) Modified pages: - admin/aqbudgets.pl - admin/aqplan.pl - suggestion/suggestion.pl - acqui/acqui-home.pl - acqui/addorderiso2709.pl - acqui/neworderempty.pl Unit tests in t/Budgets/CanUserUseBudget.t and t/Budgets/CanUserModifyBudget.t --- Restriction rules: If restriction is 'None', every users with basic acquisition permission can spent on this budget, and every users with budget_modify permission can modify it If 'owner', only the owner can spent on it and modify it (only with 'budget_modify' permission). If there is no owner, we are in the same case as 'None' If 'owner and users' only owner and users can spent on it and modify it (with 'budget_modify'). If no owner, same as 'None'. If 'owner, users and library', owner, users and borrowers connected to the budget library can spent on it and modify it. If no owner or no library is set for the budget, same as 'None'. TO TEST: In admin/aqbudgets.pl, users cannot click on 'Edit' button for restricted budgets In admin/aqplan.pl, users cannot modify planning for restricted budgets In other modified pages, the restricted budgets are simply not displayed. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
