Bug 13633 - Change C4::Auth::get_all_subpermissions() to not use description
Summary: Change C4::Auth::get_all_subpermissions() to not use description
Status: RESOLVED DUPLICATE of bug 13632
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: David Cook
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-28 04:09 UTC by David Cook
Modified: 2015-09-22 09:02 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***