Skip to content

Commit

Permalink
Merge pull request #62 from vanna-ai/document-permissions
Browse files Browse the repository at this point in the history
document permissions
  • Loading branch information
zainhoda authored Jul 27, 2023
2 parents 32128b8 + 72b7a26 commit 39ff78b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/vanna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,45 @@
| `vn.update_` | Updates something in the model | [`vn.update_model_visibility(...)`][vanna.update_model_visibility] |
| `vn.connect_` | Connects to a database | [`vn.connect_to_snowflake(...)`][vanna.connect_to_snowflake] |
# Permissions
By default when you create a model it is private. You can add members or admins to your model or make it public.
<table>
<tr>
<th rowspan="2">User Role</th>
<th colspan="2">Public Model</th>
<th colspan="2">Private Model</th>
</tr>
<tr>
<td>Use</td>
<td>Train</td>
<td>Use</td>
<td>Train</td>
</tr>
<tr>
<td>Non-Member</td>
<td>✅</td>
<td>❌</td>
<td>❌</td>
<td>❌</td>
</tr>
<tr>
<td>Member</td>
<td>✅</td>
<td>❌</td>
<td>✅</td>
<td>❌</td>
</tr>
<tr>
<td>Admin</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
</table>
# API Reference
'''

Expand Down

0 comments on commit 39ff78b

Please sign in to comment.