https://bugzilla.wikimedia.org/show_bug.cgi?id=28845
Web browser: ---
Bug #: 28845
Summary: PostgresInstaller::canCreateAccounts() gives the wrong
result
Product: MediaWiki
Version: 1.17.0beta1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Installation
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Blocks: 384
Classification: Unclassified
This was reported on IRC. PostgresInstaller::canCreateAccounts() uses the
obsolete pg_user catalog, instead of the new pg_roles. It gets the data from
pg_user with a very strange looking query, and then interprets the result with
a strange and buggy if statement, the end result being equivalent to a check of
usesuper alone.
The reporter on IRC apparently had a user with rolcreaterole=true and
rolcreatedb=true but rolsuper=false. The installer declared that this user
could not create accounts.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l