summaryrefslogtreecommitdiff
path: root/test/data/usr/share/polkit-1/rules.d/20-testing.rules
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'pwithnall/polkit-51-usr-local-share-is-my-homeboy' ↵revert-2c8287fbJan Rybar2021-04-131-12/+0
| | | | | into 'master'" This reverts merge request !75
* test: Fix a typo in a commentJan Rybar2021-02-251-0/+12
| | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* Introduce a polkit.Result enumeration for authorization rulesDavid Zeuthen2012-07-061-3/+3
| | | | | | | | | | | | | | This way an authorization rule can do this return polkit.Result.YES; which is slightly nicer than return "yes"; https://bugs.freedesktop.org/show_bug.cgi?id=50983 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Combine action and details parametersDavid Zeuthen2012-05-241-13/+9
| | | | | | | | | | This also removes the ability to change detail parameters which is actually a good thing. If we later need a way to change the authentication message, we can always add something like polkit.addAuthenticationMessageRule() so the user can register a function returning a string. Signed-off-by: David Zeuthen <davidz@redhat.com>
* Add test cases for evaluation orderDavid Zeuthen2012-05-211-0/+25
In fact, this test uncovered that we were evaluating the rules in the wrong order. Fix this. Signed-off-by: David Zeuthen <davidz@redhat.com>