[Activity KCM] Disallow adding/removing activity when restricted
ClosedPublic

Authored by broulik on Sep 28 2017, 11:52 AM.

Details

Summary

The plasma-desktop/add_activities will disallow adding and removing activities from the Activity Manager in Plasma. However, the KCM would allow to do so regardless.

Test Plan

Placed the following in kdeglobals:

[KDE Action Restrictions]
plasma-desktop/add_activities=false

Was no longer able to add or remove activities from Activity KCM. Without this it works as before.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Sep 28 2017, 11:52 AM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 28 2017, 11:52 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Sep 28 2017, 4:24 PM
This revision is now accepted and ready to land.Sep 28 2017, 4:24 PM
ivan accepted this revision.Sep 28 2017, 5:12 PM
This revision was automatically updated to reflect the committed changes.