set_wiki_page_readers
Say whom a wiki page is REQUIRED READING for, and tell them. The three arguments together are the WHOLE list and replace the one before — read it with get_wiki_page_reading first and pass back what should stay. 'users' is usernames or e-mails as 'a,b' (each must be able to read the page); 'members: true' is everybody on the page's project, whoever they are on the day; 'teamRoles' is the project's team roles by name as 'a,b'. Everybody on the list who has not been told about the edition to read gets a notification that opens the page, and one reminder two working days later if they have not marked it. An empty list switches it off; marks already made are kept. With 'askAgain: true' the list is left as it is and everybody who has NOT read the edition is told once more — and on a page with no approved edition, the edition to read becomes the one the page is at now. The project's lead, the company's owner or an admin only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page id. | |
| users | No | Usernames or e-mails, as 'a,b'. Take them from list_users. | |
| members | No | true for everybody on the page's project. | |
| askAgain | No | true to leave the list alone and ask again everybody who has not read the edition. | |
| teamRoles | No | The project's team roles by name, as 'a,b'. |