[Koha-bugs] [Bug 7304] Working on funds ergonomic display and funds management by multi librarians

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 21 16:44:55 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7304

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|claire.hernandez at biblibre.c |julian.maurice at biblibre.com
                   |om                          |

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
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.


More information about the Koha-bugs mailing list