-
Notifications
You must be signed in to change notification settings - Fork 147
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
Add filtering to list Airlock requests #2433
Add filtering to list Airlock requests #2433
Conversation
…specify which actions the requesting user can make on each request
…alyaron-feature/2271-add-filtering-to-list-airlock-requests
Unit Test Results500 tests +498 498 ✔️ +498 11s ⏱️ -11s Results for commit 118b7b2. ± Comparison against base commit 22545c4. This pull request removes 2 and adds 500 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
…t can also send 'awaiting_my_review' parameter to 'get_airlock_requests_by_user_and_workspace'
…alyaron-feature/2271-add-filtering-to-list-airlock-requests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think maybe it's a little too complicated - I am not following we we need to add that much new models and modify existing ones...
…alyaron-feature/2271-add-filtering-to-list-airlock-requests � Conflicts: � CHANGELOG.md � api_app/_version.py
…alyaron-feature/2271-add-filtering-to-list-airlock-requests � Conflicts: � CHANGELOG.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/test |
🤖 pr-bot 🤖 🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/2856171128 (with refid (in response to this comment from @yuvalyaron) |
1 similar comment
🤖 pr-bot 🤖 🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/2856171128 (with refid (in response to this comment from @yuvalyaron) |
/test |
🤖 pr-bot 🤖 🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/2859122482 (with refid (in response to this comment from @yuvalyaron) |
/help |
🤖 pr-bot 🤖 Hello! You can use the following commands: (in response to this comment from @yuvalyaron) |
/test-destroy-env |
Destroying PR test environment (RG: rg-tre551bb0b6)... (run: https://github.com/microsoft/AzureTRE/actions/runs/2859834075) |
PR test environment destroy complete (RG: rg-tre551bb0b6) |
/test |
🤖 pr-bot 🤖 🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/2860336725 (with refid (in response to this comment from @yuvalyaron) |
Resolves #2332
What is being addressed
Added the following filters to the "get all Airlock requests" endpoint:
Added a list of allowed actions (out of 'cancel' and 'review') that the user can do on the request, to every request in the response.
How is this addressed