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

Specify account labels #669

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

cbiesinger
Copy link
Collaborator

@cbiesinger cbiesinger commented Oct 29, 2024

Bug: #553


Preview | Diff

spec/index.bs Outdated Show resolved Hide resolved
1. If |config|.{{IdentityProviderAPIConfig/accounts}}.{{IdentityProviderLabelConfig/include}}
was specified:
1. For every |account| in |accountList|, remove |account| from |accountList| if |account|'s
{{IdentityProviderAccount/labels}} does not [=list/contain=]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why the discrepancy between labels and include?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I mean, this is what we settled on in the explainer. I don't recall why we made this choice specifically, though. @samuelgoto do you remember?

@@ -1053,13 +1059,18 @@ dictionary IdentityProviderBranding {
USVString name;
};

dictionary IdentityProviderLabelConfig {
Copy link
Collaborator

Choose a reason for hiding this comment

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

A dictionary with a single string? What are we thinking this could be extended to?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

"exclude" is the obvious one. Conceivably we could also allow specifying multiple labels (could require all of them to match or just one)

Copy link
Collaborator

@npm1 npm1 left a comment

Choose a reason for hiding this comment

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

lgtm modulo naming

@cbiesinger cbiesinger added the agenda+ Regular CG meeting agenda items label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agenda+ Regular CG meeting agenda items
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants