Commit 467dbe6d authored by Jeremy Linton's avatar Jeremy Linton Committed by Ray Strode
Browse files

test: Add a test case to handle actions without explicit rules

An implicit authorization parameter is provided to
polkit_backend_js_authority_check_authorization_sync() for actions
without corresponding explicit rules. Assure that is honored rather
than simply being denied.
Signed-off-by: default avatarJeremy Linton <>
parent 85c38f36
......@@ -182,6 +182,14 @@ static const RulesTestCase rules_test_cases[] = {
/* actions without explict rules aren't automatically NOT_AUTHORIZED */
/* Ordering tests ... we have four rules files, check they are
* evaluated in order by checking the detail set by each rules
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment