Lock/Switch stay in session menu even if disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Session Menu |
In Progress
|
Medium
|
Unassigned | ||
indicator-session (Ubuntu) |
Fix Released
|
Medium
|
Robert Ancell | ||
Trusty |
In Progress
|
Medium
|
Unassigned |
Bug Description
[Impact]
Session indicator no longer honours the lockdown settings that worked in 12.04 LTS. There are no alternative settings to perform the same behaviour. This functionality is required in large installations where users are not allowed to perfom these actions (e.g. corporate installations / labs / public terminals).
[Test Case]
1. Create the file /usr/share/
[org.gnome.
disable-
disable-
2. Reboot
3. Log into a session
Expected result:
Opening the session indicator should not show any options to lock the screen or switch the user.
Observed result:
"Lock/Switch Account" and user list shown for installations with more than one user. "Lock" shown for installations with one user.
[Regression Potential]
Potential for modified options to be shown/hidden incorrectly. Risk reduced by using existing regression tests, adding new test for lockdown and manually testing each case.
Related branches
- Charles Kerr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 224 lines (+155/-15)2 files modifiedsrc/service.c (+30/-15)
tests/test-service.cc (+125/-0)
- Indicator Applet Developers: Pending requested
-
Diff: 224 lines (+155/-15)2 files modifiedsrc/service.c (+30/-15)
tests/test-service.cc (+125/-0)
Changed in indicator-session (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in indicator-session: | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
description: | updated |
Changed in indicator-session (Ubuntu Trusty): | |
status: | Triaged → In Progress |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in indicator-session: | |
assignee: | Robert Ancell (robert-ancell) → nobody |
Changed in indicator-session (Ubuntu Trusty): | |
assignee: | Robert Ancell (robert-ancell) → nobody |
I've proposed this for 14.04 LTS because in 12.04 LTS while the menus were laid out differently (user options were a separate indicator) they did honour the org.gnome. desktop. lockdown keys.
This feature is likely to be used on large Ubuntu deployments.