Skip to content

Permissions for editing/deleting queries #543

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

Open
katyasoup opened this issue Apr 22, 2025 — with Linear · 1 comment
Open

Permissions for editing/deleting queries #543

katyasoup opened this issue Apr 22, 2025 — with Linear · 1 comment

Comments

Copy link
Collaborator

Description:

Currently, Admins and Super Admins have full edit/delete ability for all queries. We should consider whether we want this to be the case, or whether we should limit that functionality to the query's author.

Ex. Admin A creates an Influenza query, and assigns it to the Influenza user group. Admin B is a member of the Influenza user group. Super Admin C is not a member.

  • Should Admin B be able to edit/delete the query, because they are a member of the assigned group? Should they be able to edit/delete queries for groups they are not assigned to?
  • Should Super Admin C be able to edit/delete the query, even though they aren't in the group, because they are a Super Admin?
  • Should edit/delete be restricted to only the query's author? Or the query's author and Super Admins?
  • Should any Admin or Super Admin be able to edit/delete any query? (Leave current behavior as-is)
  • etc.

Acceptance Criteria:

  1. The team has agreed on what level of permissions to support for editing/deleting queries
  2. (if needed) Code and documentation is updated to reflect those permission changes
Copy link

linear bot commented Apr 22, 2025

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

1 participant