Skip to content
Snippets Groups Projects
Unverified Commit 5a0a3cfe authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub
Browse files

Add new flag to check root user too in ChcekAuthorization (#452)

Currently if the subject has uid 0 a shortcut is taken and authorization
is immediately granted, without checking against policies and rules.
Add a flag that allows skipping this shortcut.

uid 0 can of course alter polkit's behaviour directly, so this is not so
much a security feature, but more useful as a safety feature, so that
when an action is disabled it cannot be accidentally performed by root,
unless they really mean it and bypass polkit.
parent 0831cb80
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment