-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
list_access_info endpoint + delete_session + Implement role checking …
…in access endpoints (#74) * protobuf * Add role check to create_access and fix tests * Move comment * add list access info endpoint * add FromQueryResult so database can convert * list access info endpoints tests * get_access_by_model_id crud * get_access_by_model_id crud tests * protobufffffffffffffffffff * clippy * Implement role checking in create_access * protobuf stuff * Implement role checking in update_access * Add editor_role_check_helper method * Implement role checking in delete_access * clippy fmt * Add delete_session method and update protobuf pointer * cargo fmt * cargo fmt * Fix delete_session parameter naming * Add delete_session tests * Merge session_context from GetUsers * Add delete_by_token method to test helpers * Use delete_by_token instead * Remove unused import * Remove duplicate method definition --------- Co-authored-by: sabotack <[email protected]> Co-authored-by: Ali Khorami <[email protected]> Co-authored-by: williamwoldum <[email protected]>
- Loading branch information
1 parent
a08f88e
commit f4b22a7
Showing
2 changed files
with
104 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters