| Summary: | kdesktop_lock doesn't honour kiosk switch user restriction | ||
|---|---|---|---|
| Product: | [Unmaintained] kdesktop | Reporter: | Thibauld Favre <tfavre> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | finex |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch to have lockdlg.cc honour kiosk switch_user restriction | ||
|
Description
Thibauld Favre
2007-03-29 19:13:31 UTC
Created attachment 20123 [details]
Patch to have lockdlg.cc honour kiosk switch_user restriction
SVN commit 648097 by dfaure:
Patch by Thibauld Favre <tfavre rift-technologies com> to honour kiosk switch user restriction - thanks!
BUG: 143597
M +1 -1 lockdlg.cc
--- branches/KDE/3.5/kdebase/kdesktop/lock/lockdlg.cc #648096:648097
@@ -128,7 +128,7 @@
connect(ok, SIGNAL(clicked()), SLOT(slotOK()));
connect(mNewSessButton, SIGNAL(clicked()), SLOT(slotSwitchUser()));
- if (!DM().isSwitchable())
+ if (!DM().isSwitchable() || !kapp->authorize("switch_user"))
mNewSessButton->hide();
installEventFilter(this);
Bug closed. Kdesktop is no more mantained. |