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

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 9309
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9309&action=edit
More granular permissions for baskets

Add branch info to baskets
Add a list of borrowers that are allowed to manage a basket (one list for each
basket).
Add a new subpermission: acquisition => order_manage_all

If user is superlibrarian, or if he has permission acquisition =
1(GranularPermissions = OFF), or subpermission acquisition => order_manage_all
(GranularPermissions = ON), he's authorised to manage all baskets.

Depending on syspref AcqViewBaskets:
  'all': user can manage all baskets
  'branch': user can manage baskets of his branch (the basket branch is taken
into account, not the branch of the basket's creator). If basket branch is not
defined, all user can manage this basket.
  'user': user can manage baskets he created, and baskets he's in their user
list

There are unit tests in t/Acquisition/CanUserManageBasket.t, which require
Test::MockModule

You can edit basket's branch and users list in basket modification page
(acqui/basket.pl).

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

Reply via email to