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

            Bug ID: 42774
           Summary: "sip2" permission missing on upgraded Koha if
                    SIPconfig.xml file doesn't exist
   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]

Bug 37893 is a really cool feature and I wanted to use it for a Koha instance
I've upgraded to 25.11 where I'm setting up SIP2 for the first time.

...and I notice that I can't access the functionality in Administration.

And the reason is because in 25.11, 26.05, and main
installer/data/mysql/db_revs/250600035.pl skips the end of the db_revs if the
SIPconfig.xml is missing.

This makes sense, because there's no point trying to do a SIPconfig.xml to
database migration if there is no SIPconfig.xml file.

However... the oopsie is that at the very bottom of the script there are the
following lines:

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

And if you don't have those lines... you don't have any sip2 permission...
which means you can't *see* the link text "Self-service circulation (SIP2)" to
take you to /cgi-bin/koha/sip2/sip2.pl

-- 
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