Page MenuHomePhabricator

Write Artisan Job to create Wikis and associated Models
Closed, ResolvedPublic

Description

Requirements:
New Job
Parameters:

  • the email of the user to own this wiki as a string
  • a wiki-details.json path

The wiki-details.json looks like the output of:

php artisan wbs-wiki:get domain $WIKI_DOMAIN

End Result:

  • This will create a laravel Wiki object and persist it
  • This Wiki object will be owned by a user that has the email address
  • A WikiDb will exist; it will have no tables but it will have grants for a) the wiki manager user and b) a specific user for this db
  • The wiki settings will be attached to the Wiki
  • A queryservice namespace will be assigned to this Wiki

Event Timeline

Tarrow updated the task description. (Show Details)
Tarrow renamed this task from Write Artisan Job to create wikis, users settings and things to Write Artisan Job to create Wikis and associated Models.Jan 11 2022, 11:37 AM
Tarrow updated the task description. (Show Details)