[Bug 14868] REST API: Swagger2-driven permission checking
1 Sep
2016
1 Sep
'16
12:46 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14868 --- Comment #47 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 55088 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55088&action=edit Bug 14868: (QA followup) Change permission check order This patch changes the permission check order because haspermission is the smaller check, and going through the patron/user and its guaranteed before checking if it is (say) a staff member or even a superlibrarian doesn't seem right. Bonus: Remove unneeded C4::Auth import in Patron.pm Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
3604
Age (days ago)
3604
Last active (days ago)
0 comments
1 participants
participants (1)
-
bugzilla-daemon@bugs.koha-community.org