From e426fcf20ec5ac0d54abe3ee552f7bb2eba2f5aa Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 16 Feb 2021 14:14:53 -0500 Subject: [PATCH] Gofumpt --- .../docs/concepts/security/permissions.mdx | 1122 +++++++---------- 1 file changed, 463 insertions(+), 659 deletions(-) diff --git a/website/content/docs/concepts/security/permissions.mdx b/website/content/docs/concepts/security/permissions.mdx index 1e9dcb446f..e902cb6d1b 100644 --- a/website/content/docs/concepts/security/permissions.mdx +++ b/website/content/docs/concepts/security/permissions.mdx @@ -222,11 +222,11 @@ wildcard or templated grant strings. @@ -234,19 +234,15 @@ wildcard or templated grant strings.
  • create: Create an account
  • - +
  • list: List accounts
  • - + @@ -257,23 +253,23 @@ wildcard or templated grant strings. @@ -281,62 +277,38 @@ wildcard or templated grant strings.
  • read: Read an account
  • - +
  • update: Update an account
  • - +
  • delete: Delete an account
  • - -
  • - set-password: Set a password on an account, without - requring the current password -
  • - -
  • - change-password: Change a password on an account given - the current password -
  • - + +
  • + set-password: Set a password on an account, without requring the current password +
  • + +
  • + change-password: Change a password on an account given the current password +
  • + @@ -354,11 +326,11 @@ wildcard or templated grant strings. @@ -366,19 +338,15 @@ wildcard or templated grant strings.
  • create: Create an auth method
  • - +
  • list: List auth methods
  • - + @@ -389,17 +357,17 @@ wildcard or templated grant strings. @@ -407,35 +375,27 @@ wildcard or templated grant strings.
  • read: Read an auth method
  • - +
  • update: Update an auth method
  • - +
  • delete: Delete an auth method
  • - +
  • authenticate: Authenticate to an auth method
  • - + @@ -453,11 +413,11 @@ wildcard or templated grant strings. @@ -465,11 +425,9 @@ wildcard or templated grant strings.
  • list: List auth tokens
  • - + @@ -480,17 +438,17 @@ wildcard or templated grant strings. @@ -498,19 +456,15 @@ wildcard or templated grant strings.
  • read: Read an auth token
  • - +
  • delete: Delete an auth token
  • - + @@ -529,11 +483,11 @@ wildcard or templated grant strings. @@ -541,19 +495,15 @@ wildcard or templated grant strings.
  • create: Create a group
  • - +
  • list: List groups
  • - + @@ -564,17 +514,17 @@ wildcard or templated grant strings. @@ -582,51 +532,39 @@ wildcard or templated grant strings.
  • read: Read a group
  • - +
  • update: Update a group
  • - +
  • delete: Delete a group
  • - +
  • add-members: Add members to a group
  • - +
  • set-members: Set the full set of members on a group
  • - +
  • remove-members: Remove members from a group
  • - + @@ -643,11 +581,11 @@ wildcard or templated grant strings. @@ -655,19 +593,15 @@ wildcard or templated grant strings.
  • create: Create a host
  • - +
  • list: List hosts
  • - + @@ -678,23 +612,23 @@ wildcard or templated grant strings. @@ -702,36 +636,24 @@ wildcard or templated grant strings.
  • read: Read a host
  • - +
  • update: Update a host
  • - +
  • delete: Delete a host
  • - + @@ -748,11 +670,11 @@ wildcard or templated grant strings. @@ -760,19 +682,15 @@ wildcard or templated grant strings.
  • create: Create a host catalog
  • - +
  • list: List host catalogs
  • - + @@ -783,17 +701,17 @@ wildcard or templated grant strings. @@ -801,27 +719,21 @@ wildcard or templated grant strings.
  • read: Read a host catalog
  • - +
  • update: Update a host catalog
  • - +
  • delete: Delete a host catalog
  • - + @@ -838,11 +750,11 @@ wildcard or templated grant strings. @@ -850,19 +762,15 @@ wildcard or templated grant strings.
  • create: Create a host set
  • - +
  • list: List host sets
  • - + @@ -873,23 +781,23 @@ wildcard or templated grant strings. @@ -897,69 +805,45 @@ wildcard or templated grant strings.
  • read: Read a host set
  • - +
  • update: Update a host set
  • - +
  • delete: Delete a host set
  • - +
  • add-hosts: Add hosts to a host-set
  • - +
  • set-hosts: Set the full set of hosts on a host set
  • - +
  • remove-hosts: Remove hosts from a host set
  • - + @@ -978,11 +862,11 @@ wildcard or templated grant strings. @@ -990,19 +874,15 @@ wildcard or templated grant strings.
  • create: Create a role
  • - +
  • list: List roles
  • - + @@ -1013,17 +893,17 @@ wildcard or templated grant strings. @@ -1031,76 +911,57 @@ wildcard or templated grant strings.
  • read: Read a role
  • - +
  • update: Update a role
  • - +
  • delete: Delete a role
  • - +
  • add-principals: Add principals to a role
  • - +
  • - set-principals: Set the full set of principals on a - role + set-principals: Set the full set of principals on a role
  • - +
  • remove-principals: Remove principals from a role
  • - +
  • add-grants: Add grants to a role
  • - +
  • set-grants: Set the full set of grants on a role
  • - +
  • remove-grants: Remove grants from a role
  • - + @@ -1118,11 +979,11 @@ wildcard or templated grant strings. @@ -1130,19 +991,15 @@ wildcard or templated grant strings.
  • create: Create a scope
  • - +
  • list: List scopes
  • - + @@ -1153,17 +1010,17 @@ wildcard or templated grant strings. @@ -1171,27 +1028,21 @@ wildcard or templated grant strings.
  • read: Read a scope
  • - +
  • update: Update a scope
  • - +
  • delete: Delete a scope
  • - + @@ -1208,11 +1059,11 @@ wildcard or templated grant strings. @@ -1220,11 +1071,9 @@ wildcard or templated grant strings.
  • list: List sessions
  • - + @@ -1235,17 +1084,17 @@ wildcard or templated grant strings. @@ -1253,37 +1102,27 @@ wildcard or templated grant strings.
  • read: Read a session
  • - +
  • cancel: Cancel a session
  • - -
  • - read:self: Read a session, which must be associated - with the calling user -
  • - -
  • - cancel:self: Cancel a session, which must be associated - with the calling user -
  • - + +
  • + read:self: Read a session, which must be associated with the calling user +
  • + +
  • + cancel:self: Cancel a session, which must be associated with the calling user +
  • + @@ -1300,11 +1139,11 @@ wildcard or templated grant strings. @@ -1312,19 +1151,15 @@ wildcard or templated grant strings.
  • create: Create a target
  • - +
  • list: List targets
  • - + @@ -1335,17 +1170,17 @@ wildcard or templated grant strings. @@ -1353,60 +1188,45 @@ wildcard or templated grant strings.
  • read: Read a target
  • - +
  • update: Update a target
  • - +
  • delete: Delete a target
  • - +
  • add-host-sets: Add host sets to a target
  • - +
  • - set-host-sets: Set the full set of host sets on a - target + set-host-sets: Set the full set of host sets on a target
  • - +
  • remove-host-sets: Remove host sets from a target
  • - +
  • authorize-session: Authorize a session via the target
  • - + @@ -1424,11 +1244,11 @@ wildcard or templated grant strings. @@ -1436,19 +1256,15 @@ wildcard or templated grant strings.
  • create: Create a user
  • - +
  • list: List users
  • - + @@ -1459,17 +1275,17 @@ wildcard or templated grant strings. @@ -1477,51 +1293,39 @@ wildcard or templated grant strings.
  • read: Read a user
  • - +
  • update: Update a user
  • - +
  • delete: Delete a user
  • - +
  • add-accounts: Add accounts to a user
  • - +
  • set-accounts: Set the full set of accounts on a user
  • - +
  • remove-accounts: Remove accounts from a user
  • - +