Skip to content
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

refactor(protocol-designer): check if adapter through allowedRoles #15386

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Jun 11, 2024

closes AUTH-506

Overview

This is not really a bug (yet) but will be a bug once #15385 merges in. Basically, we updated the categorizations of some labware by changing the displayCategory. This is fine, we just can't rely on the displayCategory for cataloging the adapters in PD, instead we need to rely on the allowedRoles. This PR fixes that.

Test Plan

Not much to test here, just check that my logic makes sense!

Changelog

  • update the deckSetup component to base the adapter info off of includedRoles instead of displayCategory

Review requests

see test plan

Risk assessment

low

@jerader jerader requested a review from a team as a code owner June 11, 2024 18:39
@jerader jerader requested review from koji and ncdiehl11 June 11, 2024 18:39
@jerader jerader removed the request for review from a team June 11, 2024 18:39
Copy link
Member

@shlokamin shlokamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thanks for auditing this!

@jerader jerader merged commit 10cbe02 into edge Jun 11, 2024
24 checks passed
@jerader jerader deleted the pd_fix-searching-for-adapters branch June 11, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants