View | Details | Raw Unified | Return to bug 23109
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_23109_improve_staffaccess_description.perl (+6 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( "UPDATE userflags SET flagdesc = 'Allow staff members to modify permissions and passwords for other staff members' WHERE flag = 'staffaccess'" );
4
    SetVersion( $DBversion );
5
    print "Upgrade to $DBversion done (Bug 23109 - Improve description of staffacess permissiony)\n";
6
}
(-)a/installer/data/mysql/userflags.sql (-1 / +1 lines)
Lines 13-19 INSERT INTO userflags (bit, flag, flagdesc, defaulton) VALUES Link Here
13
(14,'editauthorities','Edit authorities',0),
13
(14,'editauthorities','Edit authorities',0),
14
(15,'serials','Manage serial subscriptions',0),
14
(15,'serials','Manage serial subscriptions',0),
15
(16,'reports','Allow access to the reports module',0),
15
(16,'reports','Allow access to the reports module',0),
16
(17,'staffaccess','Allow staff members to modify permissions for other staff members',0),
16
(17,'staffaccess','Allow staff members to modify permissions and passwords for other staff members',0),
17
(18,'coursereserves','Course reserves',0),
17
(18,'coursereserves','Course reserves',0),
18
(19, 'plugins', 'Koha plugins', '0'),
18
(19, 'plugins', 'Koha plugins', '0'),
19
(20, 'lists', 'Lists', 0),
19
(20, 'lists', 'Lists', 0),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (-2 / +1 lines)
Lines 43-49 Link Here
43
        <span class="main_permission reports_permission">Allow access to the reports module</span>
43
        <span class="main_permission reports_permission">Allow access to the reports module</span>
44
        <span class="permissioncode">([% name | html %])</span>
44
        <span class="permissioncode">([% name | html %])</span>
45
    [%- CASE 'staffaccess' -%]
45
    [%- CASE 'staffaccess' -%]
46
        <span class="main_permission staffaccess_permission">Allow staff members to modify permissions for other staff members</span>
46
        <span class="main_permission staffaccess_permission">Allow staff members to modify permissions and passwords for other staff members</span>
47
        <span class="permissioncode">([% name | html %])</span>
47
        <span class="permissioncode">([% name | html %])</span>
48
    [%- CASE 'coursereserves' -%]
48
    [%- CASE 'coursereserves' -%]
49
        <span class="main_permission coursereserves_permission">Course reserves</span>
49
        <span class="main_permission coursereserves_permission">Course reserves</span>
50
- 

Return to bug 23109