[Koha-bugs] [Bug 17663] Forgotten userpermissions from bug 14686

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 20 16:47:40 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17663

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 57662
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57662&action=edit
Bug 17663: Forgotten userpermissions from bug 14686

Bug 14686 added in a dbrev:
    (13, 'upload_general_files', 'Upload any file'),
    (13, 'upload_manage', 'Manage uploaded files');

But these were not added in userpermissions.sql somehow :)
So, what now?

This patch:
[1] adds them to userpermissions.sql as should have been done,
[2] adds a dbrev to add them for newer installs that did not run the
    14686 dbrev.

Test plan:
[1] Run this sql statement:
    DELETE FROM permissions WHERE code = 'upload_general_files' OR
        code = 'upload_manage'
[2] Run the db rev.
[2] Check if you see Tools/Upload (with sufficient perms).

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


More information about the Koha-bugs mailing list