-
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.
Add UserBitmap to User to validate user permissions (#419)
This patch add the user-bitmap to the authentication token, internal API only * Update authentication.ts * Create user-bitmap.model.ts * add `terms-of-use` service to set the terms of use date in the DB * add `user-requests`service (only find method) * add `user-requests-review` service (only find method) * add groups and authentication in payload and in SlimUser * Move models User and Group to typescript, Group class implements new Sequelize 6 typescript * Create users.model.test.ts and add simple tests for related services * Use current NODE_ENV configuration to test sequelize connection and get info about any users * add subscription dataset * printout bitmap along with subscriptions Minor changes, long due * check existing users (email or username) on `users/create` * Update password-reset.class.js * Delete users.queries.cyp * remove console.error for wrong validation, use debug * update deps * remove unused obfuscatedUser and use number to avid JSON output problems with BigInt * fix typescript for celery client to get the `get()`method on AsyncResult * add AvailablePlans to the configuration, mostly in default --------- Co-authored-by: Roman Kalyakin <[email protected]> Co-authored-by: Daniele Guido <[email protected]>
- Loading branch information
1 parent
7d9c9e6
commit a3f3dce
Showing
40 changed files
with
2,148 additions
and
978 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.