Skip to content
  • David Zeuthen's avatar
    Bug 25367 — Also read local authority configuration data from /etc · 8e0b9b47
    David Zeuthen authored
    
    
    Turns out some people would rather edit local files in /etc rather
    than shipping them in a package (as e.g. Fedora does with the
    polkit-desktop-policy RPM).
    
    This also drops the hard-coded list of directory names such as
    10-vendor.d, 20-org.d - we now monitor the
    /var/lib/polkit-1/localauthority and /etc/polkit-1/localauthority
    directories for changes - whenever we see a subdirectory in any of
    these directories, we create an AuthorizationStore object that looks
    for .pkla files.
    
    Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
    8e0b9b47