Comment 6 for bug 121533

Revision history for this message
Stuart Metcalfe (stuartmetcalfe) wrote :

Here's an opening suggestion for different behaviours:

Trusted sites:

 * SReg required: Will always be sent if available. No option to uncheck. Text bold
 * SReg optional: Provide checkbox (checked by default). Text plain

Untrusted sites:

 * SReg required: Provide checkbox (checked by default). Text bold
 * SReg optional: Provide checkbox (unchecked by default). Text plain

For teams, we should consider using a js expander so that the default is a collapsed section where all teams are controlled by a single checkbox (eg: "> [x] Teams: team_x, team_y"). Individual teams can be checked/unchecked by expanding the section.

Specific behaviours:

Trusted sites: Provide checkboxes (checked by default). Text plain
Untrusted sites: Provide checkboxes (unchecked by default). Text plain.

We should save all field states per trust root for each user and restore their checked state on each login. If teams are individually selected then the section should be expanded and individual checkbox states restored on subsequent logins. Fields no longer requested by the consumer should be removed from the saved list so they revert to the default state if they are added again later. New fields on subsequent logins should follow the defaults above but also have italic text or be highlighted in a similar way. New teams should follow the defaults above, the section should be expanded, and new teams in the list should be highlighted as for new fields.