-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
apiarea: API, enterprise API, access token, OAutharea: API, enterprise API, access token, OAuthorganizationsarea: organizations, orgsarea: organizations, orgsplatformAnything related to our platform planAnything related to our platform plan✨ featureNew feature or requestNew feature or request
Description
Problem
Platform customer wants the ability for managed user who is platform org admin to be able to accept or decline managed user bookings.
Solution
- Update confirm.handler.ts by adding extra check that checks if logged in user in the handler has admin or owner membership in an organization that either the booking user has membership in or if the booking user is part of a team that belongs to the organization where logged in user is admin or owner.
- Add e2e api test in managed-user-bookings.e2e-spec.ts by creating managed user that is platform organization admin and then check if using platform org admin access token it is possible to accept and decline managed user's booking who belongs to same org. Also, check if such request results in an error if admin is trying to accept booking of a person who is not part of the org.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apiarea: API, enterprise API, access token, OAutharea: API, enterprise API, access token, OAuthorganizationsarea: organizations, orgsarea: organizations, orgsplatformAnything related to our platform planAnything related to our platform plan✨ featureNew feature or requestNew feature or request