Skip to content

Commit

Permalink
implement documentation for new RPC function
Browse files Browse the repository at this point in the history
  • Loading branch information
mathemancer committed Jun 18, 2024
1 parent 000f3cd commit effa934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/docs/api/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ To use an RPC function:
members:
- add_from_known_connection
- add_from_scratch
- grant_access_to_user
- DBModelReturn

---
Expand Down
2 changes: 1 addition & 1 deletion mathesar/rpc/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def add_from_scratch(
@handle_rpc_exceptions
def grant_access_to_user(*, connection_id: int, user_id: int):
"""
Migrate a connection to new models, grant access for a user.
Migrate a connection to new models and grant access to a user.
This function is designed to be temporary, and should probably be
removed once we have completed the new users and permissions setup
Expand Down

0 comments on commit effa934

Please sign in to comment.