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

--- Comment #77 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 193752
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193752&action=edit
Bug 14962: (QA follow-up) Use correct displays permission flag in API tests

All 'authorized librarian' test users in displays.t and displayitems.t
were created with flags => 1 (superlibrarian), which bypasses all
permission checks. The comment said "displays permission" but bit 0 is
the superlibrarian flag.

The displays module is userflags bit 33, so use flags => 2**33 to
actually test that the displays flag grants access.

Sponsored-by: ByWater Solutions
Signed-of-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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