Bug 13633

Summary: Change C4::Auth::get_all_subpermissions() to not use description
Product: Koha Reporter: David Cook <dcook>
Component: PatronsAssignee: David Cook <dcook>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, gmcharlt, jonathan.druart, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13632
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Cook 2015-01-28 04:09:00 UTC
At the moment, C4::Auth::get_all_subpermissions() uses `permissions.description` to build a hashref of subpermissions. It needs the `description` column to provide a true value, and that's really the only purpose I see within C4::Auth.

It's also used in member-flags.pl, bu Bug 13632 (thttp://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13632) will make negate the need for descrption from C4::Auth::get_all_subpermissions().

--

As for `userflags`, it looks like `userflags.flagdesc` is only used in member-flags.pl, and could be safely removed.
Comment 1 Jonathan Druart 2015-09-22 09:02:12 UTC
Done in bug 13632.

*** This bug has been marked as a duplicate of bug 13632 ***