Remove superfluous KAuthorised check with new name
ClosedPublic

Authored by davidedmundson on May 11 2016, 10:43 PM.

Details

Summary

We already have code in plasma that will hide this action using the KAuthorised ID "plasma/plasmashell/unlockedDesktop".

Including a second ID that will only have an effect in one place isn't
very useful.

Test Plan

Set
[KDE Action Restrictions][$i]
plasma/plasmashell/unlockedDesktop=false

checked I couldn't see this menu

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson retitled this revision from to Remove superfluous KAuthorised check with new name.
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptMay 11 2016, 10:43 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
graesslin accepted this revision.May 12 2016, 4:00 AM
graesslin added a reviewer: graesslin.
graesslin added a subscriber: graesslin.

Where's the unlockedDesktop action defined?

This revision is now accepted and ready to land.May 12 2016, 4:00 AM

ShellCorona:390 which then calls Corona::setImmutability(Plasma::Types::SystemImmutable)

which is basically Plasma's own custom KAuthorized system

This revision was automatically updated to reflect the committed changes.