<div>broulik created this revision.<br />
broulik added a reviewer: Plasma.<br />
broulik set the repository for this revision to rPLASMAWORKSPACE Plasma Workspace.<br />
Restricted Application added a project: Plasma.<br />
Restricted Application added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>Remove the context menus that would do nothing if access to those KCMs is restricted.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Added the respective KCM desktop file names to [KDE Control Module Restrictions]:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">In Battery it is shown if one of the three KCMs is allowed, works</li>
<li class="remarkup-list-item">In clock the two entries are treated separately, works</li>
</ul>

<p>Confirmed that KCMShell refused to open and System Settings didn't list; still works when no restriction is set</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAWORKSPACE Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1632" rel="noreferrer">https://phabricator.kde.org/D1632</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/batterymonitor/package/contents/ui/PowerManagementItem.qml<br />
applets/batterymonitor/package/contents/ui/batterymonitor.qml<br />
applets/digital-clock/package/contents/ui/main.qml</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>plasma-devel, sebas<br /></div>