bkr policy-list [options] <fqdn>
Retrieves and prints the access policy rules for a system whose FQDN is <fqdn>.
By default, the currently active access policy rules are retrieved, which could be a a pool access policy. To retrieve the custom access policy rules, specify --custom.
Retrieve the custom access policy rules for the system instead of the currently active access policy rules.
Retrieves the access policy rules that have been granted directly to your user account. This does not include permissions granted indirectly via group permissions or the system's default permissions.
- --user <username>
Retrieve the access policy rules for <username>. This option can be specified multiple times.
- --group <group>
Retrieve the access policy rules for group, <group>. This option can be specified multiple times.
- --format <format>
Display results in the given format, either tabular or json. The tabular format lists one rule per row as a table. This is the default. The json format returns the rules as a JSON array and is compact.
Common bkr options are described in the Options section of bkr(1).
Non-zero on error, otherwise zero.
List current policy list for a system:
bkr policy-list test1.example.com
List current policy list for a system for users, user1 and user2:
bkr policy-list --user user1 --user user2 test1.example.com
The Beaker team <firstname.lastname@example.org>
2013-2021 Red Hat, Inc.