mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-09 17:48:20 +00:00
Update README
This commit is contained in:
parent
0c454a3c28
commit
d59d0cc0e5
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ The ShareResourceWithUsersAndGroups function Shares the Resource With all Provid
|
|||
```
|
||||
err := helper.ShareResourceWithUsersAndGroups(ctx, client, "resource id", []string{"user 1 id"}, []string{"group 1 id"}, 7)
|
||||
```
|
||||
Note: Existing Permission of Users and Groups will be Adjusted to Fit the Type.
|
||||
Note: Existing Permission of Users and Groups will be adjusted to be of the Provided permissionType.
|
||||
|
||||
If you need to do something more Complicated like setting Users/Groups to different Type then you can Use ShareResource directly:
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue