Page MenuHomePhabricator

Load list of 'write' API modules from the API
Closed, DuplicatePublic

Description

Instead of hard-coding it, as it is now:

self.write = self.action in (
    "edit", "move", "rollback", "delete", "undelete",
    "protect", "block", "unblock", "watch", "patrol",
    "import", "userrights", "upload", "emailuser",
    "createaccount", "setnotificationtimestamp",
    "filerevert", "options", "purge", "revisiondelete",
    "wbeditentity", "wbsetlabel", "wbsetdescription",
    "wbsetaliases", "wblinktitles", "wbsetsitelink",
    "wbcreateclaim", "wbremoveclaims", "wbsetclaimvalue",
    "wbsetreference", "wbremovereferences"
)

Event Timeline

Ricordisamoa raised the priority of this task from to Needs Triage.
Ricordisamoa updated the task description. (Show Details)
Ricordisamoa changed Security from none to None.
Ricordisamoa added subscribers: Aklapper, Unknown Object (MLST), Ricordisamoa.