Skip to content

Comments

feat(EG-420): restrict create-organization api to the SystemAdmin's Cognito Auth session#295

Merged
zigtan merged 2 commits intomainfrom
feat/EG-420_restrict_create-organization-api
Sep 19, 2024
Merged

feat(EG-420): restrict create-organization api to the SystemAdmin's Cognito Auth session#295
zigtan merged 2 commits intomainfrom
feat/EG-420_restrict_create-organization-api

Conversation

@zigtan
Copy link
Contributor

@zigtan zigtan commented Sep 19, 2024

This PR enhances the POST /easy-genomics/organization/create-organization API to restrict it to only the SystemAdmin User's Cognito Auth Session.

The auth utility functions in src/app/utils/rest-api-utils.ts are now moved to a separate src/app/utils/auth-utils.ts definition for better clarity.

@zigtan zigtan merged commit 9cb5915 into main Sep 19, 2024
@zigtan zigtan deleted the feat/EG-420_restrict_create-organization-api branch September 19, 2024 09:24
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