-
Notifications
You must be signed in to change notification settings - Fork 73
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
base: main
Are you sure you want to change the base?
Conversation
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=] |
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.
Why the discrepancy between labels
and include
?
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 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 { |
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.
A dictionary with a single string? What are we thinking this could be extended to?
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.
"exclude" is the obvious one. Conceivably we could also allow specifying multiple labels (could require all of them to match or just one)
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 modulo naming
Bug: #553
Preview | Diff