Skip to content

Commit

Permalink
Update object-permissions Documentation
Browse files Browse the repository at this point in the history
Update README to reflect use of `profile object-permissions add` and
`profile object-permissions edit`.
  • Loading branch information
cwarden committed Jan 14, 2021
1 parent c10e862 commit 814ee26
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,20 @@ force-md profile field-permissions clone -s Account.My_Field__c -f Account.New_F

### Add Object Permissions

Add object permissions to Profiles. All permissions will default to false; use `profile object-permissions` to update.
Add object permissions to Profiles. All permissions will default to false; use `profile object-permissions edit` to update.

```
force-md profile add-object-permissions -o Account src/profiles/*
force-md profile object-permissions add -o Account src/profiles/*
```


### Update Object Permissions

Update the Read, Create, Edit, Delete, View All, and Modify All permissions on
Profiles. Any permissions not specified on the command line will be left
unchanged.

```
force-md profile object-permissions -o Account -e -D src/profiles/*
force-md profile object-permissions edit -o Account -e -D src/profiles/*
```

## Developing
Expand Down

0 comments on commit 814ee26

Please sign in to comment.