Page MenuHomePhabricator

Add rights for creation and edition of type converters (Z46 and Z46)
Closed, ResolvedPublic

Description

Description

Type converters should be protected, mostly when they are active (connected to a type).
We need to create the following rights:

  • wikilambda-create-converter for functioneer?
  • wikilambda-edit-converter for functioneer?
  • wikilambda-edit-connected-converter for function maintainers (should probably be paired with the type edition rights)

To-Do:

  • Add right (inc. i18n)
  • Grant right to their default groups
  • Add edit rules and filter function
    • Add tests
  • Add create rule in getRequiredCreateRights
    • Add tests
  • Update docs
  • Grant right to wikifunctions-staff in production code

Remove all the non-applicable tags from the "Tags" field, leave only the tags of the projects/repositories related to this task


Completion checklist

Event Timeline

Change #1043826 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Add create and edit rights for type converters (serialisers and deserialisers)

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

Change #1043826 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add create and edit rights for type converters (serialisers and deserialisers)

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

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

[operations/mediawiki-config@master] [wikifunctions] Grant wikifunctions-staff enum and converter rights

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

Change #1048059 merged by jenkins-bot:

[operations/mediawiki-config@master] [wikifunctions] Grant wikifunctions-staff enum and converter rights

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

Mentioned in SAL (#wikimedia-operations) [2024-07-02T13:17:31Z] <logmsgbot> lucaswerkmeister-wmde@deploy1002 Started scap sync-world: Backport for [[gerrit:1048059|[wikifunctions] Grant wikifunctions-staff enum and converter rights (T366610 T367270)]], [[gerrit:1047961|GrowthExperiments: add community updates module flag (T365877)]]

Mentioned in SAL (#wikimedia-operations) [2024-07-02T13:20:02Z] <logmsgbot> lucaswerkmeister-wmde@deploy1002 sgimeno, jforrester, lucaswerkmeister-wmde: Backport for [[gerrit:1048059|[wikifunctions] Grant wikifunctions-staff enum and converter rights (T366610 T367270)]], [[gerrit:1047961|GrowthExperiments: add community updates module flag (T365877)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-07-02T13:27:54Z] <logmsgbot> lucaswerkmeister-wmde@deploy1002 Finished scap: Backport for [[gerrit:1048059|[wikifunctions] Grant wikifunctions-staff enum and converter rights (T366610 T367270)]], [[gerrit:1047961|GrowthExperiments: add community updates module flag (T365877)]] (duration: 10m 22s)

Jdforrester-WMF updated the task description. (Show Details)