[Koha-bugs] [Bug 13633] New: Change C4::Auth::get_all_subpermissions() to not use description

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 28 05:09:00 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13633

            Bug ID: 13633
           Summary: Change C4::Auth::get_all_subpermissions() to not use
                    description
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

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.

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


More information about the Koha-bugs mailing list