phac-nml / irida-next

IRIDA Next
https://phac-nml.github.io/irida-next/
Apache License 2.0
8 stars 2 forks source link

Update query to set bot_account #551

Closed deepsidhu85 closed 2 months ago

deepsidhu85 commented 2 months ago

What does this PR do and why?

Describe in detail what your merge request does and why.

This PR updates the bot_actions and bot_personal_access_tokens concerns to find and set the bot account using the namespace_bot id instead of the user id. The UI and testing have also been updated

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other pull requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. For both projects and groups add a bot account and verify you can delete the bot account
  2. Verify tests pass

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

github-actions[bot] commented 2 months ago

Simplecov Report

Covered Threshold
92% 90%