bkr-policy-list - Man Page

Lists access policy rules for a system

Synopsis

bkr policy-list [options] <fqdn>

Description

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.

Options

--custom

Retrieve the custom access policy rules for the system instead of the currently active access policy rules.

--mine

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).

Exit Status

Non-zero on error, otherwise zero.

Examples

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

See Also

bkr(1), bkr-policy-list(1)

Author

The Beaker team <beaker-devel@lists.fedorahosted.org>

Referenced By

bkr(1).

Feb 11, 2024 29.1 Beaker