-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: db users and permission manager (#142)
* feat(database): functions implemented to modify privileges of db user * feat(database): override execute_sql function of peewee.MySQLDatabase to run raw sql * tests(database): added testcases for add_user and remove_user * tests(database): testcases for read_only and read_write mode added * tests(database): testcases for granular permission, revoke permission added with some small fixes * chore(database): inline docs update * feat(database): apis for creating user, removing db user, permission updates * chore(database): move create and remove user tasks to job * chore(database): modify database permission api * chore(database): fix variable type of func
- Loading branch information
Showing
4 changed files
with
516 additions
and
26 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
Oops, something went wrong.