1BKR-POLICY-LIST(1) Beaker BKR-POLICY-LIST(1)
2
3
4
6 bkr-policy-list - Lists access policy rules for a system
7
9 bkr policy-list [options] <fqdn>
10
11
13 Retrieves and prints the access policy rules for a system whose FQDN is
14 <fqdn>.
15
16 By default, the currently active access policy rules are retrieved,
17 which could be a a pool access policy. To retrieve the custom access
18 policy rules, specify --custom.
19
21 --custom
22 Retrieve the custom access policy rules for the system instead
23 of the currently active access policy rules.
24
25 --mine Retrieves the access policy rules that have been granted di‐
26 rectly to your user account. This does not include permissions
27 granted indirectly via group permissions or the system's default
28 permissions.
29
30 --user <username>
31 Retrieve the access policy rules for <username>. This option can
32 be specified multiple times.
33
34 --group <group>
35 Retrieve the access policy rules for group, <group>. This option
36 can be specified multiple times.
37
38 --format <format>
39 Display results in the given format, either tabular or json.
40 The tabular format lists one rule per row as a table. This is
41 the default. The json format returns the rules as a JSON array
42 and is compact.
43
44 Common bkr options are described in the Options section of bkr(1).
45
47 Non-zero on error, otherwise zero.
48
50 List current policy list for a system:
51
52 bkr policy-list test1.example.com
53
54 List current policy list for a system for users, user1 and user2:
55
56 bkr policy-list --user user1 --user user2 test1.example.com
57
59 bkr(1), bkr-policy-list(1)
60
62 The Beaker team <beaker-devel@lists.fedorahosted.org>
63
65 2013-2023 Red Hat, Inc.
66
67
68
69
7028.3 Nov 17, 2023 BKR-POLICY-LIST(1)