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

Admin should only edit their own organization's measurements #1029

Open
2 tasks
CraigJZ opened this issue May 10, 2022 · 0 comments
Open
2 tasks

Admin should only edit their own organization's measurements #1029

CraigJZ opened this issue May 10, 2022 · 0 comments
Assignees

Comments

@CraigJZ
Copy link
Collaborator

CraigJZ commented May 10, 2022

Admin for an organization should only be able to edit their own organization's measurements. Currently, an admin can edit all organizations' measurements. This will be partially handled by #1028 but we should also limit authorization for these actions programatically.

Criteria for completion

  • Restrict editing measurements to the organization level. Editing is already limited to admin users. Those admin should only be able to edit their own organization's measurements.
  • Add specs to exercise this new behavior.
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

Successfully merging a pull request may close this issue.

2 participants