Page MenuHomePhabricator

Restrict creating Types to users with a special right
Closed, ResolvedPublic

Event Timeline

That seems still to work with users without special rights?

That seems still to work with users without special rights?

Yes, it seems to be the case.
Checked https://wikifunctions.beta.wmflabs.org (marked with ); the behavior is not correct according to Help:Wikifunctions/User rights

User groupCan modify/add existing Type content & publish?Can publish a new Type?
Users groupcannot publish
Screen Shot 2023-04-25 at 2.15.56 PM.png (1×1 px, 204 KB)
can select Type on Special:CreateZObject; cannot publish
Screen Shot 2023-04-25 at 1.46.40 PM.png (1×1 px, 231 KB)
sysop (e.g. Special:Log - creation of a new Type)no can select Type on Special:CreateZObject; start modifying the content; can publish

Change 912411 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] [WIP] tests: Also test creations in ZObjectAuthorization

https://gerrit.wikimedia.org/r/912411

gengh removed gengh as the assignee of this task.May 22 2023, 1:54 PM
gengh subscribed.

Change 927314 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Restrict creating Types to users with a special right

https://gerrit.wikimedia.org/r/927314

Change 927314 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Restrict creating Types to users with a special right

https://gerrit.wikimedia.org/r/927314