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

            Bug ID: 42053
           Summary: Bug 37893 DBUpdate does not always add the new
                    userflags/permissions
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: SIP2
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

In db_revs/250600035.pl for the SIP2 module there is:

unless ( -f $SIPconfigFile && -r $SIPconfigFile ) { 
            say_warning( $out, "Skipping migration. SIP config file not found
or unreadable" );
            return;
        }

and then later:

        $dbh->do(
            q{INSERT IGNORE INTO userflags (bit, flag, flagdesc, defaulton)
VALUES (31, 'sip2', 'Manage SIP2 module', 0) }
        );


So the permissions are only added if there is a SIP config. The permissions
should be added no matter what.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to