Skip to content

Commit

Permalink
fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Jan 29, 2024
1 parent 304666e commit 338bae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ The policy effect can set to be "allow" or "deny" by --effect
Put policy examples:
```
// grant object operation permissions to a group
gnfd-cmd policy put --groupId 128 --actions getObj,delete grn:o::gnfd-bucket/gnfd-object
gnfd-cmd policy put --groupId 128 --actions get,delete grn:o::gnfd-bucket/gnfd-object
// grant object operation permissions to an account
gnfd-cmd policy put --grantee 0x169321fC04A12c16... --actions getObj,delete grn:o::gnfd-bucket/gnfd-object
gnfd-cmd policy put --grantee 0x169321fC04A12c16... --actions get,delete grn:o::gnfd-bucket/gnfd-object
// grant bucket operation permissions to a group
gnfd-cmd policy put --groupId 130 --actions delete,update,createObj grn:b::gnfd-bucket
Expand Down

0 comments on commit 338bae9

Please sign in to comment.