[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2016-01-29 Thread Vanush Paturyan
I've backported the changes that fixed this issue in 14.10. It applied
cleanly to the indicator-session 12.10.5_14.04.20151021.1-0ubuntu1 from
the trusty-updates. Rebuilding the patched source package and installing
it in Ubuntu 14.04 solves the issue. It would be nice if this patch is
applied and released (I have never prepared new packages for upload, but
can try doing it if it will help maintainers release the fix for 14.04
LTS).

Cheers,

Misha

** Patch added: "backport of the fix from 14.10 to 14.04"
   
https://bugs.launchpad.net/ubuntu/+source/indicator-session/+bug/1325353/+attachment/4559318/+files/bug1325353.patch

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Session Menu.
https://bugs.launchpad.net/bugs/1325353

Title:
  Lock/Switch stay in session menu even if disabled

Status in Session Menu:
  In Progress
Status in indicator-session package in Ubuntu:
  Fix Released
Status in indicator-session source package in Trusty:
  In Progress

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/glib-2.0/schemas/lockdown.gschema.override:
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-user-switching=true
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions

-- 
Mailing list: https://launchpad.net/~unity-api-bugs
Post to : unity-api-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~unity-api-bugs
More help   : https://help.launchpad.net/ListHelp


[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2015-10-14 Thread Cristiano Cumer
Would it possible to release the fix also for 14.04 ?

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Session Menu.
https://bugs.launchpad.net/bugs/1325353

Title:
  Lock/Switch stay in session menu even if disabled

Status in Session Menu:
  In Progress
Status in indicator-session package in Ubuntu:
  Fix Released
Status in indicator-session source package in Trusty:
  In Progress

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/glib-2.0/schemas/lockdown.gschema.override:
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-user-switching=true
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions

-- 
Mailing list: https://launchpad.net/~unity-api-bugs
Post to : unity-api-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~unity-api-bugs
More help   : https://help.launchpad.net/ListHelp


[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2014-07-22 Thread Launchpad Bug Tracker
** Branch linked: lp:~robert-ancell/indicator-session/lockdown-
settings-14.04

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Session Menu.
https://bugs.launchpad.net/bugs/1325353

Title:
  Lock/Switch stay in session menu even if disabled

Status in The Session Menu:
  In Progress
Status in “indicator-session” package in Ubuntu:
  Fix Released
Status in “indicator-session” source package in Trusty:
  In Progress

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/glib-2.0/schemas/lockdown.gschema.override:
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-user-switching=true
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions

-- 
Mailing list: https://launchpad.net/~unity-api-bugs
Post to : unity-api-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~unity-api-bugs
More help   : https://help.launchpad.net/ListHelp


[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2014-07-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/utopic-proposed/indicator-session

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Session Menu.
https://bugs.launchpad.net/bugs/1325353

Title:
  Lock/Switch stay in session menu even if disabled

Status in The Session Menu:
  In Progress
Status in “indicator-session” package in Ubuntu:
  In Progress
Status in “indicator-session” source package in Trusty:
  Triaged

Bug description:
  
  In a university computer lab session we disable shutdown, restart, suspend, 
hibernate, switch user, and lock screen.
  Some are done with polkit (suspend, hibernate) and then the suspend menuitem 
is not shown on the session menu.
  Some are done with dconf e.g.

  # Show real name (and wider session menu as a result); lab also disable 
shutdown
  [com.canonical.indicator.session]
  show-real-name-on-panel=true
  suppress-logout-restart-shutdown=true
  suppress-restart-menuitem=true
  suppress-shutdown-menuitem=true
  user-show-menu=false

  # Quiet login screens
  [com.canonical.unity-greeter]
  play-ready-sound=false

  # Update-notifier
  [com.ubuntu.update-notifier]
  no-show-notifications=true

  # Software installation not possible for normal users
  [desktop.gnome.unity.lenses.applications]
  display-available-apps=false

  # Disable the lock screen  print-setup not on laptops, but in labs
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-print-setup=true
  disable-user-switching=true

  # Screensaver lockdown in labs
  [org.gnome.desktop.screensaver]
  lock-enabled=false
  user-switch-enabled=false

  # Logout prompt
  [org.gnome.SessionManager]
  logout-prompt=false

  This works fine except there is no value for suppress-lock-menuitem or
  suppress-switch-menuitem or suppress-lock-switch-menuitem, and the
  Lock/Switch User menuitem still appears; even though it is non-
  functional. Clicking on it blacks out the screen for a second and then
  shows the desktop again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions

-- 
Mailing list: https://launchpad.net/~unity-api-bugs
Post to : unity-api-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~unity-api-bugs
More help   : https://help.launchpad.net/ListHelp


[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2014-07-21 Thread Launchpad Bug Tracker
This bug was fixed in the package indicator-session -
12.10.5+14.10.20140718-0ubuntu1

---
indicator-session (12.10.5+14.10.20140718-0ubuntu1) utopic; urgency=low

  [ Robert Ancell ]
  * Hide relevant items from session indicator when
org.gnome.desktop.lockdown disable-lock-screen or disable-user-
switching are set to match 12.04 LTS behaviour (LP: #1325353)
 -- Ubuntu daily release ps-jenk...@lists.canonical.com   Fri, 18 Jul 2014 
21:36:22 +

** Changed in: indicator-session (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Session Menu.
https://bugs.launchpad.net/bugs/1325353

Title:
  Lock/Switch stay in session menu even if disabled

Status in The Session Menu:
  In Progress
Status in “indicator-session” package in Ubuntu:
  Fix Released
Status in “indicator-session” source package in Trusty:
  Triaged

Bug description:
  
  In a university computer lab session we disable shutdown, restart, suspend, 
hibernate, switch user, and lock screen.
  Some are done with polkit (suspend, hibernate) and then the suspend menuitem 
is not shown on the session menu.
  Some are done with dconf e.g.

  # Show real name (and wider session menu as a result); lab also disable 
shutdown
  [com.canonical.indicator.session]
  show-real-name-on-panel=true
  suppress-logout-restart-shutdown=true
  suppress-restart-menuitem=true
  suppress-shutdown-menuitem=true
  user-show-menu=false

  # Quiet login screens
  [com.canonical.unity-greeter]
  play-ready-sound=false

  # Update-notifier
  [com.ubuntu.update-notifier]
  no-show-notifications=true

  # Software installation not possible for normal users
  [desktop.gnome.unity.lenses.applications]
  display-available-apps=false

  # Disable the lock screen  print-setup not on laptops, but in labs
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-print-setup=true
  disable-user-switching=true

  # Screensaver lockdown in labs
  [org.gnome.desktop.screensaver]
  lock-enabled=false
  user-switch-enabled=false

  # Logout prompt
  [org.gnome.SessionManager]
  logout-prompt=false

  This works fine except there is no value for suppress-lock-menuitem or
  suppress-switch-menuitem or suppress-lock-switch-menuitem, and the
  Lock/Switch User menuitem still appears; even though it is non-
  functional. Clicking on it blacks out the screen for a second and then
  shows the desktop again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions

-- 
Mailing list: https://launchpad.net/~unity-api-bugs
Post to : unity-api-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~unity-api-bugs
More help   : https://help.launchpad.net/ListHelp


[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2014-07-21 Thread Robert Ancell
** Description changed:

+ [Impact]
+ Session indicator no longer honours the lockdown settings for screen locking 
and user switching that worked in 12.04 LTS. There is 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).
  
- In a university computer lab session we disable shutdown, restart, suspend, 
hibernate, switch user, and lock screen.
- Some are done with polkit (suspend, hibernate) and then the suspend menuitem 
is not shown on the session menu.
- Some are done with dconf e.g.
+ [Test Case]
  
- # Show real name (and wider session menu as a result); lab also disable 
shutdown
- [com.canonical.indicator.session]
- show-real-name-on-panel=true
- suppress-logout-restart-shutdown=true
- suppress-restart-menuitem=true
- suppress-shutdown-menuitem=true
- user-show-menu=false
- 
- # Quiet login screens
- [com.canonical.unity-greeter]
- play-ready-sound=false
- 
- # Update-notifier
- [com.ubuntu.update-notifier]
- no-show-notifications=true
- 
- # Software installation not possible for normal users
- [desktop.gnome.unity.lenses.applications]
- display-available-apps=false
- 
- # Disable the lock screen  print-setup not on laptops, but in labs
+ 1. Create the file /usr/share/glib-2.0/schemas/lockdown.gschema.override:
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
- disable-print-setup=true
  disable-user-switching=true
+ 2. Reboot
+ 3. Log into a session
  
- # Screensaver lockdown in labs
- [org.gnome.desktop.screensaver]
- lock-enabled=false
- user-switch-enabled=false
+ Expected result:
+ Opening the session indicator should not show any options to lock the screen 
or switch the user.
  
- # Logout prompt
- [org.gnome.SessionManager]
- logout-prompt=false
+ Observed result:
+ Lock/Switch Account and user list shown (for installations with more than 
one user). Lock shown for installations with one user.
  
- This works fine except there is no value for suppress-lock-menuitem or
- suppress-switch-menuitem or suppress-lock-switch-menuitem, and the
- Lock/Switch User menuitem still appears; even though it is non-
- functional. Clicking on it blacks out the screen for a second and then
- shows the desktop again.
+ [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.

** Description changed:

  [Impact]
- Session indicator no longer honours the lockdown settings for screen locking 
and user switching that worked in 12.04 LTS. There is 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).
+ 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/glib-2.0/schemas/lockdown.gschema.override:
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-user-switching=true
  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.

** Description changed:

  [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/glib-2.0/schemas/lockdown.gschema.override:
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-user-switching=true
  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.
+ 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 

[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2014-07-10 Thread Robert Ancell
** Changed in: indicator-session (Ubuntu)
   Status: New = Triaged

** Changed in: indicator-session (Ubuntu)
   Importance: Undecided = Medium

** Also affects: indicator-session
   Importance: Undecided
   Status: New

** Changed in: indicator-session
   Status: New = Triaged

** Changed in: indicator-session
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Session Menu.
https://bugs.launchpad.net/bugs/1325353

Title:
  Lock/Switch stay in session menu even if disabled

Status in The Session Menu:
  Triaged
Status in “indicator-session” package in Ubuntu:
  Triaged

Bug description:
  
  In a university computer lab session we disable shutdown, restart, suspend, 
hibernate, switch user, and lock screen.
  Some are done with polkit (suspend, hibernate) and then the suspend menuitem 
is not shown on the session menu.
  Some are done with dconf e.g.

  # Show real name (and wider session menu as a result); lab also disable 
shutdown
  [com.canonical.indicator.session]
  show-real-name-on-panel=true
  suppress-logout-restart-shutdown=true
  suppress-restart-menuitem=true
  suppress-shutdown-menuitem=true
  user-show-menu=false

  # Quiet login screens
  [com.canonical.unity-greeter]
  play-ready-sound=false

  # Update-notifier
  [com.ubuntu.update-notifier]
  no-show-notifications=true

  # Software installation not possible for normal users
  [desktop.gnome.unity.lenses.applications]
  display-available-apps=false

  # Disable the lock screen  print-setup not on laptops, but in labs
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-print-setup=true
  disable-user-switching=true

  # Screensaver lockdown in labs
  [org.gnome.desktop.screensaver]
  lock-enabled=false
  user-switch-enabled=false

  # Logout prompt
  [org.gnome.SessionManager]
  logout-prompt=false

  This works fine except there is no value for suppress-lock-menuitem or
  suppress-switch-menuitem or suppress-lock-switch-menuitem, and the
  Lock/Switch User menuitem still appears; even though it is non-
  functional. Clicking on it blacks out the screen for a second and then
  shows the desktop again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions

-- 
Mailing list: https://launchpad.net/~unity-api-bugs
Post to : unity-api-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~unity-api-bugs
More help   : https://help.launchpad.net/ListHelp


[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2014-07-10 Thread Robert Ancell
** Also affects: indicator-session (Ubuntu Trusty)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Session Menu.
https://bugs.launchpad.net/bugs/1325353

Title:
  Lock/Switch stay in session menu even if disabled

Status in The Session Menu:
  Triaged
Status in “indicator-session” package in Ubuntu:
  Triaged
Status in “indicator-session” source package in Trusty:
  New

Bug description:
  
  In a university computer lab session we disable shutdown, restart, suspend, 
hibernate, switch user, and lock screen.
  Some are done with polkit (suspend, hibernate) and then the suspend menuitem 
is not shown on the session menu.
  Some are done with dconf e.g.

  # Show real name (and wider session menu as a result); lab also disable 
shutdown
  [com.canonical.indicator.session]
  show-real-name-on-panel=true
  suppress-logout-restart-shutdown=true
  suppress-restart-menuitem=true
  suppress-shutdown-menuitem=true
  user-show-menu=false

  # Quiet login screens
  [com.canonical.unity-greeter]
  play-ready-sound=false

  # Update-notifier
  [com.ubuntu.update-notifier]
  no-show-notifications=true

  # Software installation not possible for normal users
  [desktop.gnome.unity.lenses.applications]
  display-available-apps=false

  # Disable the lock screen  print-setup not on laptops, but in labs
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-print-setup=true
  disable-user-switching=true

  # Screensaver lockdown in labs
  [org.gnome.desktop.screensaver]
  lock-enabled=false
  user-switch-enabled=false

  # Logout prompt
  [org.gnome.SessionManager]
  logout-prompt=false

  This works fine except there is no value for suppress-lock-menuitem or
  suppress-switch-menuitem or suppress-lock-switch-menuitem, and the
  Lock/Switch User menuitem still appears; even though it is non-
  functional. Clicking on it blacks out the screen for a second and then
  shows the desktop again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions

-- 
Mailing list: https://launchpad.net/~unity-api-bugs
Post to : unity-api-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~unity-api-bugs
More help   : https://help.launchpad.net/ListHelp


[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2014-07-10 Thread Launchpad Bug Tracker
** Branch linked: lp:~robert-ancell/indicator-session/lockdown-settings

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Session Menu.
https://bugs.launchpad.net/bugs/1325353

Title:
  Lock/Switch stay in session menu even if disabled

Status in The Session Menu:
  In Progress
Status in “indicator-session” package in Ubuntu:
  In Progress
Status in “indicator-session” source package in Trusty:
  Triaged

Bug description:
  
  In a university computer lab session we disable shutdown, restart, suspend, 
hibernate, switch user, and lock screen.
  Some are done with polkit (suspend, hibernate) and then the suspend menuitem 
is not shown on the session menu.
  Some are done with dconf e.g.

  # Show real name (and wider session menu as a result); lab also disable 
shutdown
  [com.canonical.indicator.session]
  show-real-name-on-panel=true
  suppress-logout-restart-shutdown=true
  suppress-restart-menuitem=true
  suppress-shutdown-menuitem=true
  user-show-menu=false

  # Quiet login screens
  [com.canonical.unity-greeter]
  play-ready-sound=false

  # Update-notifier
  [com.ubuntu.update-notifier]
  no-show-notifications=true

  # Software installation not possible for normal users
  [desktop.gnome.unity.lenses.applications]
  display-available-apps=false

  # Disable the lock screen  print-setup not on laptops, but in labs
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-print-setup=true
  disable-user-switching=true

  # Screensaver lockdown in labs
  [org.gnome.desktop.screensaver]
  lock-enabled=false
  user-switch-enabled=false

  # Logout prompt
  [org.gnome.SessionManager]
  logout-prompt=false

  This works fine except there is no value for suppress-lock-menuitem or
  suppress-switch-menuitem or suppress-lock-switch-menuitem, and the
  Lock/Switch User menuitem still appears; even though it is non-
  functional. Clicking on it blacks out the screen for a second and then
  shows the desktop again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions

-- 
Mailing list: https://launchpad.net/~unity-api-bugs
Post to : unity-api-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~unity-api-bugs
More help   : https://help.launchpad.net/ListHelp


[Unity-api-bugs] [Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

2014-07-10 Thread Robert Ancell
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.

** Changed in: indicator-session (Ubuntu Trusty)
   Status: New = Triaged

** Changed in: indicator-session (Ubuntu Trusty)
   Importance: Undecided = Medium

** Changed in: indicator-session (Ubuntu)
 Assignee: (unassigned) = Robert Ancell (robert-ancell)

** Changed in: indicator-session
 Assignee: (unassigned) = Robert Ancell (robert-ancell)

** Changed in: indicator-session
   Status: Triaged = In Progress

** Changed in: indicator-session (Ubuntu)
   Status: Triaged = In Progress

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Session Menu.
https://bugs.launchpad.net/bugs/1325353

Title:
  Lock/Switch stay in session menu even if disabled

Status in The Session Menu:
  In Progress
Status in “indicator-session” package in Ubuntu:
  In Progress
Status in “indicator-session” source package in Trusty:
  Triaged

Bug description:
  
  In a university computer lab session we disable shutdown, restart, suspend, 
hibernate, switch user, and lock screen.
  Some are done with polkit (suspend, hibernate) and then the suspend menuitem 
is not shown on the session menu.
  Some are done with dconf e.g.

  # Show real name (and wider session menu as a result); lab also disable 
shutdown
  [com.canonical.indicator.session]
  show-real-name-on-panel=true
  suppress-logout-restart-shutdown=true
  suppress-restart-menuitem=true
  suppress-shutdown-menuitem=true
  user-show-menu=false

  # Quiet login screens
  [com.canonical.unity-greeter]
  play-ready-sound=false

  # Update-notifier
  [com.ubuntu.update-notifier]
  no-show-notifications=true

  # Software installation not possible for normal users
  [desktop.gnome.unity.lenses.applications]
  display-available-apps=false

  # Disable the lock screen  print-setup not on laptops, but in labs
  [org.gnome.desktop.lockdown]
  disable-lock-screen=true
  disable-print-setup=true
  disable-user-switching=true

  # Screensaver lockdown in labs
  [org.gnome.desktop.screensaver]
  lock-enabled=false
  user-switch-enabled=false

  # Logout prompt
  [org.gnome.SessionManager]
  logout-prompt=false

  This works fine except there is no value for suppress-lock-menuitem or
  suppress-switch-menuitem or suppress-lock-switch-menuitem, and the
  Lock/Switch User menuitem still appears; even though it is non-
  functional. Clicking on it blacks out the screen for a second and then
  shows the desktop again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions

-- 
Mailing list: https://launchpad.net/~unity-api-bugs
Post to : unity-api-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~unity-api-bugs
More help   : https://help.launchpad.net/ListHelp