[Koha-bugs] [Bug 32036] Cannot set single sub-permission without also setting the top level flag

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 2 00:59:46 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32036

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 CC|                            |dcook at prosentient.com.au

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
Choosing the top level flag is the same thing as selecting all sub-permissions.
If you go to "Check out and check in items", choose all the sub-permissions and
you'll see that the top level flag gets set. (Alternatively, if you just choose
the top level flag, it will set all the sub-permissions. Uncheck one
sub-permission, and you the top level flag is unchecked.)

If you go to
https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=31389&attachment=140563
and look at "Permissions.t", it might be clearer.

You get CAN_user_circulate if you're superlibrarian, if you have the top level
"circulate" permission, or if you have *any* circulation sub-permission. 

When you just set "circulate" without specifying individual subpermissions, it
automatically gives you all sub-permissions. 

So setting the "manage_recalls" sub-permission is functionally equivalent to
setting the "recalls" top level flag, since there is only . You'll get the
exact same authorization.

I hope that makes sense.

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


More information about the Koha-bugs mailing list