http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13632
David Cook <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #35569|0 |1 is obsolete| | --- Comment #3 from David Cook <[email protected]> --- Created attachment 35595 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35595&action=edit Bug 13632 - Use a translateable file instead of the database for managing permission descriptions This patch defines a couple of blocks in "permissions.inc", which is included/processed in member-flags.tt to show the descriptions for the permissions and sub-permissions. _TEST PLAN_ Before applying: 1) Look at the descriptions for permissions and subpermissions 2) Open another tab/window and load the same page Apply the patch 3) Reload the second tab/window 4) Note that the descriptions are exactly the same as before If you're feeling bold, you can change the text in `permissions.description` and `userflags.flagdesc` and notice that the text on the page doesn't change. However, you should not delete the `permissions.description` column or change the text to NULL or blank. C4::Auth::get_all_subpermissions() uses the description for creating a hashref of subpermissions. If it can't get the column, Koha will explode. If there is nothing in the column, your subpermissions won't work correctly. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
