add security check in showConfigurationInterface too
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=834476
This commit is contained in:
parent
bbcc79fc0e
commit
d7bc9f3898
@ -1160,6 +1160,9 @@ void Applet::showConfigurationInterface()
|
||||
if (!hasConfigurationInterface()) {
|
||||
return;
|
||||
}
|
||||
if (immutability() != Mutable && !KAuthorized::authorize("PlasmaAllowConfigureWhenLocked")) {
|
||||
return;
|
||||
}
|
||||
|
||||
const QString dialogId = QString("%1settings%2").arg(id()).arg(name());
|
||||
KConfigDialog * dlg = KConfigDialog::exists(dialogId);
|
||||
|
Loading…
Reference in New Issue
Block a user