[Koha-bugs] [Bug 7018] need all acq permissions to search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 27 11:13:02 CET 2013


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

Fridolyn SOMERS <fridolyn.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |fridolyn.somers at biblibre.co
                   |                            |m
         Resolution|FIXED                       |---

--- Comment #8 from Fridolyn SOMERS <fridolyn.somers at biblibre.com> ---
I reopen this bug because it does not behave like wanted.
Using :
  flagsrequired   => { 
    acquisition => 'group_manage', 
    acquisition => 'order_manage', 
    acquisition => 'order_receive'
  },
flagsrequired is a hash so setting 3 times the same key results in a hash with
only : 
  { acquisition => 'order_receive' }

So instead of requiring group_manage, order_manage and order_receive
permissions, acq search page only needs order_receive.
Tested with only group_manage or only order_manage, permission is denied.

Using several permissions on same module will need development in C4::Auth.
It should allow a boolean combination of permissions I think.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list