roles set-grant-scopes command lets you set the complete set of grant scopes on a role.
You can specify multiple grant scopes per role.
This example sets the complete set of grant scopes on a role with the ID
r_1234567890 in the current scope and any children scopes:
$ boundary roles add-grant-scopes -id r_1234567890 -grant-scope-id "this" -grant-scope-id "children"
$ boundary roles set-grants [options] [args]
-grant-scope-id=<string>- The scope IDs that inherit grants set on the role. You can specify the following values:
-id=<string>- The ID of the role you want to set grant scopes on.
-version=<int>The version of the role to set grant scopes on. If you do not specify a version, the command performs a check-and-set automatically.