Skip to content

Change permissions for provider admin#77

Merged
chrisarridge merged 7 commits intodevelopfrom
ca/provider-admin-permission-change
Apr 21, 2026
Merged

Change permissions for provider admin#77
chrisarridge merged 7 commits intodevelopfrom
ca/provider-admin-permission-change

Conversation

@chrisarridge
Copy link
Copy Markdown
Contributor

This PR mainly changes the permissions for the provider admin role to add update-org, create-dataset, and delete-dataset. It also:

  • Fixes the create dataset endpoint to return HTTP 201.
  • Adds additional tests for creating datasets, updating organisations, deleting datasets.

This fixes the create dataset endpoint to return HTTP 201 status codes
rather than HTTP 200.  It also fixes the integration test that checks
for invalid short names.
This commit updates the permissions for provider admin roles to include
updating reporting organisations, and creating and deleting datasets.
This commit adds a test for creating datasets to check that only
users with the appropriate permissions can create datasets.
This commit adds a test to make sure that only users with the appropriate
permissions can delete datasets.
This commit adds a test to make sure that only users with appropriate
permissions can update a reporting organisation.
@chrisarridge chrisarridge requested a review from simon-20 April 20, 2026 17:03
@chrisarridge chrisarridge merged commit f3a4dda into develop Apr 21, 2026
5 checks passed
@chrisarridge chrisarridge deleted the ca/provider-admin-permission-change branch April 21, 2026 12:35
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 this pull request may close these issues.

2 participants