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

Setup system for managing access to revising specifications of simulators #37

Closed
16 tasks done
jonrkarr opened this issue Mar 26, 2021 · 1 comment
Closed
16 tasks done
Assignees
Labels
enhancement New feature or request

Comments

@jonrkarr
Copy link
Member

jonrkarr commented Mar 26, 2021

@bilalshaikh42 here's an outline of what we discussed today about how to implement permissions to revising simulators

  • Setup teams for the existing approved tools
    • Create teams
    • Add biosimulators-daemon to teams
    • Add collaborators to teams
    • Give teams admin access to their repos
  • Upon the first submission of a simulation tool
    • Use the GitHub API to create a GitHub team with id @biosimulators/{simulator-id}
    • Use the GitHub API to add the submitter to that team.
    • Use the GitHub API to make the submitter a maintainer of the team so they can add collaborators if needed.
    • Use the GitHub API to post a message to the GitHub issue for the submission that a team was created and that the submitter can manage the team
  • Upon subsequent submissions of a simulation tool
    • Use the GitHub API to check whether the submitter is a member of the team for the simulator
    • If not, use the GitHub API to post an error message
  • Add documentation about this permissions system to

This is probably easiest to implement in the Python package in this repo.

@jonrkarr jonrkarr self-assigned this Mar 27, 2021
@jonrkarr
Copy link
Member Author

Done and deployed.

There are unit tests. I tried to make sure it will work. Hopefully no debugging will be necessary the first time we try it.

@jonrkarr jonrkarr added the enhancement New feature or request label Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant