Review Request 127899: [KCMShell] Honor KAuthorized restrictions

David Edmundson david at davidedmundson.co.uk
Thu May 12 15:59:33 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127899/#review95424
-----------------------------------------------------------



-2


kcmshell/main.cpp (line 95)
<https://git.reviewboard.kde.org/r/127899/#comment64693>

    this line is already doing it.
    
    bool KService::noDisplay() const
    ...
        if (!KAuthorized::authorizeControlModule(storageId())) {
            return true;
        }


- David Edmundson


On May 12, 2016, 1:59 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127899/
> -----------------------------------------------------------
> 
> (Updated May 12, 2016, 1:59 p.m.)
> 
> 
> Review request for KDE Frameworks and Plasma.
> 
> 
> Repository: kde-cli-tools
> 
> 
> Description
> -------
> 
> This makes KCMShell skip loading modules that are restricted in KDE Control Module Restrictions.
> 
> The --list property already filtered them but you could still open them.
> 
> 
> Diffs
> -----
> 
>   kcmshell/main.cpp 3a4f651 
> 
> Diff: https://git.reviewboard.kde.org/r/127899/diff/
> 
> 
> Testing
> -------
> 
> Literally none.
> 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160512/eb40cbc9/attachment.html>


More information about the Plasma-devel mailing list