Commit Graph

33 Commits (6e88d4816f09f3374ff902624236e34bbacbcda1)

Author SHA1 Message Date
grossmj fdc3774fff Add index for "name" field in role table
3 years ago
Jeremy Grossmann 1a5fb1abcc
Only use the necessary HTTP methods for default permissions
3 years ago
grossmj 4c6135fe88 Add /permissions/prune to delete orphaned permissions
3 years ago
grossmj 6fb6a27859 Add last login info for users.
3 years ago
grossmj 4e33d29af8 Change RBAC field names from builtin to is_builtin
3 years ago
grossmj d65b49acaa Add user permissions + RBAC tests.
3 years ago
grossmj 36a27c0c19 Force refresh of updated_at value for RBAC db models.
3 years ago
grossmj a6d2f48df1 Merge remote-tracking branch 'origin/3.0' into rbac
3 years ago
grossmj 0113ca6673 Force refresh of updated_at value in db models.
3 years ago
grossmj 74d820fd0a Use synchronize_session="fetch" when updating values.
3 years ago
grossmj e9b9884ee3 Merge remote-tracking branch 'origin/3.0' into rbac
3 years ago
grossmj a6c2a3e47f Use synchronize_session="fetch" when updating values.
3 years ago
grossmj 2e2e31337a Add description for user permission.
3 years ago
grossmj fbc47598d9 Basic functional RBAC support.
3 years ago
grossmj 6d4da98b8e Base API and tables for RBAC support.
3 years ago
grossmj f416d64042 Allow to set the initial super admin username / password in server config file. Ref #1857
3 years ago
grossmj 8810249d36 Add user groups support.
3 years ago
grossmj 956b9056c1 Fix issues with latest version of sqlalchemy
3 years ago
grossmj 0a77f0035b Add delete cascade on foreign keys for appliance table
3 years ago
grossmj 10164e262d Enable SQL foreign key support for SQLite
3 years ago
grossmj e28452f09a Secure users API and handle manual password recovery.
3 years ago
grossmj c03226e368 Add default super admin account in controller db.
3 years ago
grossmj 9404c00411 Complete type annotations for API endpoints.
3 years ago
grossmj c021e21309 Use black with -l 120 param.
3 years ago
grossmj 30ebae207f Use Pydantic to validate the server config file.
3 years ago
grossmj 566e326b57 Save computes to database
4 years ago
grossmj 91920e5a5b Fix issue with tests + some cleaning.
4 years ago
grossmj 0fea3f969e Use aiosqlite and add service for templates
4 years ago
grossmj d730c591b3 Refactor template management to use database.
4 years ago
grossmj bde706d19a Generate JWT secret key if none is configured in the config file.
4 years ago
grossmj d47dcb0d6f User authentication with tests.
4 years ago
grossmj bf7cf862af Refactor tests and start work on database integration.
4 years ago
grossmj ae55c0ec9c Fix tests.
4 years ago