tabby/ee/tabby-db
Meng Zhang d3519e5277
feat(webserver): implement user_groups CRUD apis (#3108)
* fix(db): enforce NOT NULL constraint on primary keys in access control tables

* feat(webserver): add user group management and membership update apis

* chore(webserver): implement UserGroupService.list

* make fix

* update graphql schema

* refactor(db): extract user_groups.rs

* [autofix.ci] apply automated fixes

* test(schema): add test cases for user group name regex

* test(user_groups): add unit test for UserGroupServiceImpl

* move access policy to service argument so it can be tested

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-10 10:57:13 -07:00
..
docs refactor(db): Rewrite database code to use sqlx instead of rusqlite (#1340) 2024-02-01 09:38:37 -08:00
migrations feat(webserver): implement user_groups CRUD apis (#3108) 2024-09-10 10:57:13 -07:00
schema feat(webserver): implement user_groups CRUD apis (#3108) 2024-09-10 10:57:13 -07:00
src feat(webserver): implement user_groups CRUD apis (#3108) 2024-09-10 10:57:13 -07:00
.gitignore feat(db): add thread / thread_messages table (#2826) 2024-08-10 21:07:16 -07:00
Cargo.toml fix(db): disable sqlx-sqlite implementation for encoding DateTime<Utc> (#2861) 2024-08-13 09:02:51 +00:00
schema.sqlite feat(webserver): implement user_groups CRUD apis (#3108) 2024-09-10 10:57:13 -07:00