phac-nml / irida-next

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

Group bot accounts UI #545

Closed deepsidhu85 closed 5 months ago

deepsidhu85 commented 5 months ago

What does this PR do and why?

Describe in detail what your merge request does and why.

This PR adds in the UI for group bot accounts (listing, removing, adding).

Screenshots or screen recordings

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

image

image

image

image

image

image

image

How to set up and validate locally

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

  1. Login as admin@email.com or any other user
  2. Create a group
  3. From the sidebar on the project show page, click Settings and then Bot Accounts
  4. You should not see any bot accounts
  5. Click the New bot account button
  6. Fill in the token name, access level, option expiration date for token, and select at least 1 scope
  7. Click Submit
  8. You should see a table with the bot account that was created and above the table a section which lists the personal access token
  9. Go to the Members page for the group
  10. You should see the bot account that was created listed as a Bot
  11. Go back to the Bot Accounts page for the group
  12. Click the ellipsis for the bot account and click Remove. Confirm that you would like to remove the bot account
  13. The table should update and no bot accounts should be listed
  14. Go back to the Members page for the group
  15. Verify that the bot account has also been removed from the group members

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 5 months ago

Simplecov Report

Covered Threshold
91.96% 90%