Skip to content

Commit

Permalink
update default model_access_mode (#1594)
Browse files Browse the repository at this point in the history
Signed-off-by: Kalyan <kalyan.ben10@live.com>
  • Loading branch information
rawwar authored Nov 22, 2023
1 parent 9f438d3 commit bfd53bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/model_access_control.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The following table lists the available request fields.
|:------------------------|:----------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `name` | String | The model group name. Required. |
| `description` | String | The model group description. Optional. |
| `model_access_mode` | String | The access mode for this model. Valid values are `public`, `private`, and `restricted`. When this parameter is set to `restricted`, user must specify either `backend_roles` or `add_all_backend_roles`, but not both. Optional. Default is `restricted`. |
| `model_access_mode` | String | The access mode for this model. Valid values are `public`, `private`, and `restricted`. When this parameter is set to `restricted`, user must specify either `backend_roles` or `add_all_backend_roles`, but not both. Optional. Default is `private`. |
| `backend_roles` | Array | A list of the model owner's backend roles to add to the model. Required only if the `model_access_mode` is `restricted`. Cannot be specified at the same time as `add_all_backend_roles`. Optional. |
| `add_all_backend_roles` | Boolean | If `true`, all backend roles of the model owner are added to the model group. Default is `false`. Cannot be specified at the same time as `backend_roles`. Admin users cannot set this parameter to `true`. Optional. |

Expand Down

0 comments on commit bfd53bc

Please sign in to comment.