New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 629604 link

Starred by 3 users

Issue metadata

Status: Verified
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocking:
issue 614265



Sign in to add a comment

[people] differentiate UI if signin or sync are disabled by policy

Project Member Reported by dbeam@chromium.org, Jul 19 2016

Issue description

I just tried old settings (i.e. chrome://settings-frame) with different policy combos.  I'm attaching results of the screenshots.

When sync is disabled, but signin is enabled, old settings:
* allows signin
* disallows sync (hides "Set up sync..." button)
* [Sign in to Chrome] button is enabled in the user switcher

When sync and signin are disabled, old settings:
* hides the whole signin section
  (there's a screenshot of this, it just looks like the user has scrolled, though...)
* [Sign in to Chrome] button is hidden in the user switcher


==> TL;DR - bettes@ what should new settings do if: <==
1) sync is disabled
2) sync+signin are disabled
==> /TL;DR <==


NOTES:

Some issues with the previous UI:
1) we shouldn't be showing the "changes will no longer by synced to your Google Account" if signin is allowed but sync is disabled

Interested in how I enabled these policies or which ones I'm talking about?

On Linux, I did:
$ sudo mkdir -p /etc/chromium/policies/managed/

And some combo of the 2 policies, i.e.
echo '{"SyncDisabled": true, "SigninAllowed": false}' | sudo tee /etc/chromium/policies/managed/test_policy.json

See also:
https://www.chromium.org/administrators/policy-list-3#SigninAllowed
https://www.chromium.org/administrators/policy-list-3#SyncDisabled
 
2016-07-19-121546_469x86_scrot.png
10.8 KB View Download
2016-07-19-121755_264x257_scrot.png
11.9 KB View Download
2016-07-19-121750_744x184_scrot.png
15.8 KB View Download
2016-07-19-122508_521x239_scrot.png
28.1 KB View Download

Comment 1 by dbeam@chromium.org, Jul 19 2016

Blocking: 614265
Preference: do the same thing as old settings (except for the issue with the "Disconnect your Google Account" dialog when sync is disabled by policy... or just not set up at all?)
Labels: Hotlist-MD-Settings-People

Comment 4 by dbeam@chromium.org, Jul 23 2016

tbuckley@: do you mean just don't show the disconnect dialog at all when sync is disabled?

Comment 5 by ew...@chromium.org, Jul 29 2016

Cc: janeliulwq@google.com
For (1), I think there's already a mock (see https://folio.googleplex.com/chrome-ux-specs-and-sources/Chrome%20Inner%20Pages/03-Settings/preview/cards#%2FPREVIEW-People-account.png%3Fz=half, "error_01").

Is it possible for sync to be enabled for some period of time and then be disabled later? I'd rather err on the side of showing a potentially unnecessary dialogue than potentially miss showing the dialogue to some users for whom it's relevant.

(2) is interesting. I'm in favor of just removing the "Sign in to Chrome" button and the sign in promo/description text from the card, but keeping around the People card to allow the user to edit their local profile info (e.g. name/icon) and open the user manager. Also in favor of removing the "Sign in to Chrome" button from the user menu in this case. +Jane - can you confirm that in the new user menu, if signin is disallowed by enterprise policy, we don't show the "sign in to Chrome" button?
Re: #4 -- I mean we should remove that snippet of text from the disconnect dialog if
1) sync is disabled by policy or
2) sync was never set up (maybe)
Re: #5 -- can confirm that no signin button/promo would be shown if signin is disallowed (but profile name/icon are still editable).
Signin not allowed.png
23.1 KB View Download
Project Member

Comment 8 by bugdroid1@chromium.org, Jul 29 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/952e2e28ee1501c58d1de1830792418805c245ab

commit 952e2e28ee1501c58d1de1830792418805c245ab
Author: dbeam <dbeam@chromium.org>
Date: Fri Jul 29 19:21:04 2016

MD Settings: disable cursor: pointer when sync is disabled

R=tommycli@chromium.org
BUG= 629604 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2178303003
Cr-Commit-Position: refs/heads/master@{#408716}

[modify] https://crrev.com/952e2e28ee1501c58d1de1830792418805c245ab/chrome/browser/resources/settings/people_page/people_page.html

Project Member

Comment 9 by bugdroid1@chromium.org, Jul 29 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/91307343c94e876ef1951063c0ef5a53a0f2ca85

commit 91307343c94e876ef1951063c0ef5a53a0f2ca85
Author: dbeam <dbeam@chromium.org>
Date: Fri Jul 29 21:15:22 2016

MD Settings: add test for managed actionability of people section

R=tommycli@chromium.org
BUG= 629604 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2195793003
Cr-Commit-Position: refs/heads/master@{#408753}

[modify] https://crrev.com/91307343c94e876ef1951063c0ef5a53a0f2ca85/chrome/browser/resources/settings/people_page/people_page.html
[modify] https://crrev.com/91307343c94e876ef1951063c0ef5a53a0f2ca85/chrome/test/data/webui/settings/people_page_test.js

Owner: dbeam@chromium.org
@dbeam let's bring this up in the UX sync if Alan still needs to weigh in
For the record, I still think that:

(1) is already addressed with the mock linked in #5
(2) should be addressed by removing the "Sign in to Chrome" button and description of sync from the settings card, but we should keep the card around so the profile info can be edited.

Comment 12 by dbeam@chromium.org, Sep 29 2016

Status: Started (was: Assigned)
well, take your pick:
https://codereview.chromium.org/2375013004 hides parts of the UI
https://codereview.chromium.org/2381783002 hides the whole people section

ewald@, tbuckley@, bettes@: can we please agree on what we want here?

I personally think ewald@'s proposal is the sanest, as a user can still locally edit their profile (and the section doesn't just disappear without explanation).

ewald@: the "signin is allowed, by sync isn't" behavior you linked to in your mocks is already implements, afaik

screenshots:
- missing the whole section (just "Appearance" at the top)
- missing parts of the people section
- showing what "sync disabled" case looks like
2016-09-28-213605_806x230_scrot.png
13.2 KB View Download
2016-09-28-214349_859x375_scrot.png
36.0 KB View Download
2016-09-28-214621_764x289_scrot.png
20.5 KB View Download

Comment 13 by ew...@chromium.org, Sep 29 2016

Thanks for putting together all the options and providing screenshots dbeam@! A couple thoughts:

- I prefer the proposal where we keep the "People" section (first screenshot).
- The "sync disabled" case looks great, glad we've got that implemented. Just one question: do we not show the "Managed by <domain name>" row above the Sync row in that scenario? When sync *is* allowed (and enabled), the row is there (see my attached screenshot). I think we should keep it there as well in the case where it's disabled by policy.

tbuckley@ and bettes@ - are you on board with keeping the people section around?
Screen Shot 2016-09-29 at 2.33.08 PM.png
44.3 KB View Download

Comment 14 by dbeam@chromium.org, Sep 29 2016

ewald@: yes, the row is there but "Managed by <domain>" depends on the account.

The first account I was using was @gmail.com (and not managed).

My @google account is managed by google.com.
2016-09-29-145641_660x308_scrot.png
30.4 KB View Download

Comment 15 by dbeam@chromium.org, Sep 29 2016

tommycli@, ewald@, and dbeam@ all prefer the "show a slimmed down" section approach, and it seems way saner in general (the previous settings page put profile editing in a different place, so it made more sense to hide the sync and sign-in section).  the people section in md-settings deals with sync, signin, and local profile editing, so matching the old options isn't a good fit in this case.

Comment 16 by ew...@chromium.org, Sep 29 2016

#14 ah got it, makes sense. Thanks for the explanation.
Project Member

Comment 17 by bugdroid1@chromium.org, Sep 29 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/15aaee9f3f5d9137bc5864ab923408a409188201

commit 15aaee9f3f5d9137bc5864ab923408a409188201
Author: dbeam <dbeam@chromium.org>
Date: Thu Sep 29 22:06:12 2016

MD Settings: hide signin-related UI when signin is disabled (e.g. by policy)

R=tommycli@chromium.org
BUG= 629604 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2375013004
Cr-Commit-Position: refs/heads/master@{#421948}

[modify] https://crrev.com/15aaee9f3f5d9137bc5864ab923408a409188201/chrome/browser/resources/settings/people_page/people_page.html
[modify] https://crrev.com/15aaee9f3f5d9137bc5864ab923408a409188201/chrome/browser/resources/settings/people_page/people_page.js

Comment 18 by dbeam@chromium.org, Sep 29 2016

Status: Fixed (was: Started)
Cc: pucchakayala@chromium.org
Status: Verified (was: Fixed)
Verified fixed. If Sync is disabled by policy, in People section it shows the following: "Sync is disabled by your administrator." (see attached screenshot).

SigninAllowed policy was deprecated.

Chrome OS: 10452.52.0
Chrome: 66.0.3359.94
Device: Robo360
Screenshot 2018-04-09 at 2.18.19 PM.png
115 KB View Download

Sign in to add a comment