Swap id field in grants to ids since that's now standardized (#4250)

* Swap id field in grants to ids since that's now standardized

* Fix some tests I missed

* Update generated resource table
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2024-01-17 23:54:49 -08:00
1 parent 962f9bd638
commit 253d79116c
43 files changed
+392 -392

No files matched your search

@@ -17,7 +17,7 @@ You can specify multiple grants per role.
This example adds a grant which permits read permissions to a role with the ID `r_1234567890`:
```shell-session
$ boundary roles add-grants -id r_1234567890 -grant "id=*;type=*;actions=read"
$ boundary roles add-grants -id r_1234567890 -grant "ids=*;type=*;actions=read"
```
## Usage
@@ -17,7 +17,7 @@ You can specify multiple grants per role.
This example removes a grant which permits read permissions from a role with the ID `r_1234567890`:
```shell-session
$ boundary roles remove-grants -id r_1234567890 -grant "id=*;type=*;actions=read"
$ boundary roles remove-grants -id r_1234567890 -grant "ids=*;type=*;actions=read"
```
## Usage
@@ -17,8 +17,8 @@ You can specify multiple grants per role.
This example sets multiple grants which allow read and list permissions for a role with the ID `r_1234567890`:
```shell-session
$ boundary roles set-grants -id r_1234567890 -grant "id=*;type=*;actions=read" -grant
"id=*;type=*;actions=list"
$ boundary roles set-grants -id r_1234567890 -grant "ids=*;type=*;actions=read" -grant
"ids=*;type=*;actions=list"
```
## Usage