Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make bpo read-only #14

Closed
9 of 14 tasks
ezio-melotti opened this issue Feb 18, 2022 · 3 comments
Closed
9 of 14 tasks

Make bpo read-only #14

ezio-melotti opened this issue Feb 18, 2022 · 3 comments
Assignees

Comments

@ezio-melotti
Copy link
Member

ezio-melotti commented Feb 18, 2022

The first step of the migration is making BPO read-only. The Roundup wiki has a page about making a tracker read-only, however this requires both code changes and fiddling with the roundup-admin.

A better approach would be:

  • Add the detector from the wiki to prevent changes (apparently not needed)
  • Remove edit permissions from Users and Developers) in schema.py
  • Update the HTML templates (note that if users don't have edit permissions, the forms shouldn't be visible already):

The banner pointing to GitHub will initially be more prominent and mention that the migration is in progress, informing users that it won't be possible to report and edit issues during the migration. After the migration is complete it will be updated to be less prominent.

This should be tested locally first, and the test should include:

  • Check that none of the roles can create/edit issues (unless explicitly allowed, e.g. for Admin/Coordinator)
  • Check that creation/edit is prevented through all different interfaces:
    • Web
    • Mail
    • XMLRPC

These changes should be made available with a single PR, that can be merged (and if needed, rolled back) easily.

We should also determine what access level we should leave to users, since they might be able to access/remove their bpo accounts, updating/removing their email address, names, GH username, timezone, etc, and possibly even messages. Logged users also have access to summaries about the issues they created and that they are following, so they should also be able to review those summaries.

@auvipy
Copy link

auvipy commented Mar 23, 2022

when we are goin to make bpo read only?

@ezio-melotti
Copy link
Member Author

We are planning to make it read-only this Friday.

@auvipy
Copy link

auvipy commented Mar 23, 2022

oh yeah, at last can start using github issues for cpython!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants