Re: Wiki editor request

From: Matemática A3K <matematica(dot)a3k(at)gmail(dot)com>
To: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Cc: Joe Conway <mail(at)joeconway(dot)com>, pgsql-www(at)postgresql(dot)org
Subject: Re: Wiki editor request
Date: 2026-11-22 16:48:38
Message-ID: CA+FDnh+oVsjYMj=zpPb_DVUz5g0fqOKG8T9DWWkPmN9txunVQg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Sun, Nov 22, 2026 at 10:50 AM Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:
>
> On 2026-Nov-21, Joe Conway wrote:
>
> > On 11/21/26 02:58, Matemática A3K wrote:
> > > On Sat, Nov 21, 2026 at 8:17 AM Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:
> > > > On 2026-Nov-20, Matemática A3K wrote:
> > > > > Álvaro, it didin't work, I can't edit the page. Can you check, please?
> > > >
> > > > Hmm, no idea. The editor bit is definitely there for that user. Maybe
> > > > you need to logout first and login again?
> > >
> > > Yup, I already tried that. Re-checked JIC, and still "Editing this
> > > wiki now requires "editor" privileges" :(
> >
> > I can confirm that the user math-a3k has editor. Are you sure you are
> > logging in with the correct community account?
>
> Hmm, didn't we have a problem with Mediawiki refusing to properly
> understand hyphens in usernames?

- When you create an account with Google, there is no "cool down"
period, as when you create the user through the website, the user is
able to log in.
- Permissions table is not checked for OAuth sessions in Mediawiki.
- When you log out from an OAuth login, the pages that need "login to
Read" are still shown for the session

A page was created and edited recently; seems that for a "regular"
("no Oauth and no cool down") user, things work as expected - although
I haven't confirmed it myself.

Hmm... I logged in again through the site, and while it says that the
user is still in cool down period, it grants "Read permission for
pages that require Login" - and you are not logged in Mediawiki. So
this is not just for OAuth.

These seem to be bugs in the intended behaviour.

So,
1. Oauth authentication bypass "cool down" period for login
2. Mediawiki permissions are not checked for Oauth sessions (at least
for users in cool down period logged in through OAuth)
3. "Login to read" requirement for some pages is bypassed when:
- The user logs out from an Oauth session in Mediawiki
- The user logs in through the site and is in "cool down" period

Perhaps "Login to read" refers to "Community login to read"; it would
be convoluted, but if that is the case, #3 would not make sense as a
bug.

HIH!

> --
> Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
> "No hay hombre que no aspire a la plenitud, es decir,
> la suma de experiencias de que un hombre es capaz"

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Bruce Momjian 2026-11-23 01:59:09 Docs say PG 19 RC2
Previous Message Álvaro Herrera 2026-11-22 13:50:05 Re: Wiki editor request