Page MenuHomePhabricator

Provide user rights for editing of ZObjects at all, and specific ones for ZImplementations, ZTesters, and ZFunctions
Closed, ResolvedPublic

Description

  • Only allowed users can do certain changes to wiki content
    • All users can update object and key labels and aliases, and documentation
    • Only allowed users can associate & disassociate Testers and Implementations [functioneers] T299600
    • Only allowed users can associate & disassociate Testers and Implementations from system-provided objects (ZID < 10k) [super-functioneers] T260314
    • Only allowed users can edit Function definitions post-association(?) [super-functioneers] T299604
    • Only allowed users can edit associated Testers and Implementations [functioneers] T299603
    • Only allowed users can create Types [functioneers] T299601
    • Only allowed users can edit Types [super-functioneers] T299602

>

Required user rights:

Create rights:

  • wikilambda-create (general ZObjects)
  • wikilambda-create-type (ZTypes)
  • wikilambda-create-function (ZFunctions)
  • wikilambda-create-implementation (ZImplementation)
  • wikilambda-create-tester (ZTesters)
  • wikilambda-create-predefined (ZID < 10k)
  • wikilambda-create-language (ZNaturalLanguage)
  • wikilambda-create-programming (ZLanguage)

+ equivalent for edits

+

  • wikilambda-connect-implementation
  • wikilambda-disconnect-implementation
  • wikilambda-connect-tester
  • wikilambda-disconnect-tester

Hardest code will be allowing general users to edit key labels of predefined/etc. items, as those we'll have to walk into the Z2K2's contents; we could skip this for launch, though it'd be a bit painful. Otherwise everything is just a check on the Z2K2's Z1K1 and the Z2K1 value, or the special code we already have for disconnect/connect code?.


  • Create initial rights
  • Wire up basic rights (ZID < 10K, etc.)
    • Any create/edit
    • ZID < 10K
    • Types
    • Functions
    • Implementations
    • Testers
    • Natural languages
    • Programming languages
  • Wire up complex rights
    • Dis/connecting Implementations and Testers
    • Edits to Implementations / Testers which are currently connected
  • Wire up special by-pass for adding/editing labels.

Related Objects

StatusSubtypeAssignedTask
OpenBUG REPORTNone
OpenNone
ResolvedBTullis
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedcmassaro
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedcmassaro
ResolvedDVrandecic
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
Resolvedori
ResolvedNone
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro

Event Timeline

Jdforrester-WMF renamed this task from Provide a specific user right for editing of ZObjects to Provide user rights for editing of ZObjects at all, and specific ones for ZImplementations, ZTesters, and ZFunctions.May 15 2021, 12:30 AM

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

[mediawiki/extensions/WikiLambda@master] Provide the user rights for creating, editing, and running ZObjects

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

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

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Wire up the majority of edit/create rights

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

Change 881488 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Provide the user rights for creating, editing, and running ZObjects

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

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

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates to authorised users

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

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

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of pre-defined ZObjects

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

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

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZTypes

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

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

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZFunctions

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

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

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZImplementations

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

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

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZTesters

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

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

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZNatural languages

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

Change 884951 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates to authorised users

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

Change 884952 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of pre-defined ZObjects

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

Change 884953 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZTypes

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

Change 884954 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZFunctions

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

Change 884955 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZImplementations

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

Change 884956 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZTesters

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

Change 884957 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZNatural languages

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

Change 881489 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Prohibit edits and creates of ZProgramming languages

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

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

[mediawiki/extensions/WikiLambda@master] Create 'Functioneer' and 'Maintainer' groups, and move rights to them

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

Change 887795 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Create 'Functioneer' and 'Maintainer' groups, and move rights to them

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

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

[mediawiki/extensions/WikiLambda@master] Hooks::registerExtension: Add general rights to the namespace

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

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

[mediawiki/extensions/WikiLambda@master] Rights: Let +sysops grant 'functioneer', and crats grant 'functionmaintainer'

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

Change 895338 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Rights: Let +sysops grant 'functioneer', and crats grant 'functionmaintainer'

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

Change 895330 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Hooks::registerExtension: Add general rights to the namespace

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