Chuck Driesler
66eb539aa0
feat(workspaces): assign project roles for workspace projects ( #2499 )
...
* feat(workspaces): drop createdByUserId from the dataschema
* feat(workspaces): repositories WIP
* merge
* protect against removing last admin in workspace
* quick impl and stub tests
* add tests
* services
* unit tests for role services
* feat(workspaces): authorize project creation if workspace specified
* feat(workspaces): emit project created event
* feat(workspaces): assign roles on project create in workspace
* feat(workspaces): update project roles when user added to workspace
* fix(workspaces): perform automatic project role update in service function
* fix(workspaces): also delete roles
* fix(workspaces): broke tests again oops
* fix(workspaces): update `onProjectCreated` listener to use new repo method
* fix(workspaces): use service function in event listener
* fix(workspaces): get workspace projects via existing stream repo functions
* fix(workspaces): roles mapping in domain, use enum
* fix(workspaces): repair type reference in tests
* fix(workspaces): consolidate files, use different existing stream-getter
* fix(workspaces): more specific error
* fix(workspaces): yield per page
* fix(workspaces): some test dry
* fix(workspaces): superdry
* fix(workspaces): classic
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-07-20 00:03:27 +01:00
Chuck Driesler
27179ad4f1
feat(workspaces): stencil gql resolvers ( #2508 )
...
* feat(workspaces): stencil gql resolvers
* fix(workspaces): lol lmao
* feat(workspaces): stencil gql api and resolvers
* fix(workspaces): roles and scopes
* fix(workspaces): add scopes
2024-07-19 12:44:53 +01:00
Gergő Jedlicska
ee6e5e22b1
gergo/eventBus ( #2498 )
...
* feat(eventBus): WIP event bus typescript wizardy
* feat(eventBus): final eventbus setup with all the typescript foo
* fix(workspaces): fix workspace core imports
* test(workspaces): fix expected events name
* test(workspaces): fix tests
2024-07-12 15:35:40 +02:00
Chuck Driesler
e703bb7415
WEB-1140 manage user workspace membership services ( #2460 )
...
* feat(workspaces): drop createdByUserId from the dataschema
* feat(workspaces): repositories WIP
* merge
* protect against removing last admin in workspace
* quick impl and stub tests
* add tests
* services
* unit tests for role services
* fix(workspaces): maybe tests work like this
* fix(workspaces): dry
* fix(workspaces): initialize tests better
* fix(workspaces): so true
* fix(workspaces): right
* fix(workspaces): self nit
* fix(workspaces): better repository structure
* fix(workspaces): repair tests, use `example.org`
* fix(workspaces): add tests for new repo functions, repair other tests
* fix(workspaces): better distinction between service-level guarantees and repo-level guarantees
* fix(workspaces): review comments and stencil tests
* fix(workspaces): add tests
* fix(workspaces): tests work
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-07-09 18:26:59 +02:00
Gergő Jedlicska
28ce7c757c
feat(workspaces): add repository function implementations
...
Co-authored-by: Charles Driesler <chuck@speckle.systems >
2024-07-04 13:46:48 +01:00
Gergő Jedlicska
307983c94c
feat(workspacesCore): initial module migration
2024-06-28 20:14:40 +02:00
Charles Driesler
a4c9fbab16
ugh
2024-06-28 14:30:51 +01:00
Charles Driesler
fc69e26905
event emitter test
2024-06-28 12:41:49 +01:00
Charles Driesler
b0344b1eae
workspace repo fct and emitter
2024-06-28 12:31:37 +01:00
Gergő Jedlicska
c046979640
test(workspaces): fix tests
2024-06-28 07:50:14 +02:00
Gergő Jedlicska
d4ef3e97df
feat(workspaces): add blob store as workspace create deps
2024-06-26 21:47:16 +02:00
Gergő Jedlicska
ddf5480d71
Merge branch 'main' of github.com:specklesystems/speckle-server into gergo/web-1146-workspace-creation-service
2024-06-26 21:30:42 +02:00
Gergő Jedlicska
7c16abc8eb
feat(workspace): 1119 define workspaces dataschema ( #2431 )
...
* feat(workspaces): add workspaces module with roles and scopes
* feat(workspaces): add domain, graphql and persistent storage dataschema
* fix(workspaces): correct db injections
* chore(workspaces): add EE license
* chore(license): mentions workspaces separately in license file
* fix(core): roles import in migration
* fix(workspaces): drop workspace_acl on down migration
* fix(workspaces): roles constants
* fix(workspaces): coding standards
---------
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com >
2024-06-26 17:00:56 +02:00
Gergő Jedlicska
ff0cd77483
feat(workspaces): wip workspace creation
2024-06-25 17:07:38 +02:00
Gergő Jedlicska
b59c24c844
fix(workspaces): roles constants
2024-06-25 15:40:41 +02:00
Gergő Jedlicska
8696a73d44
fix(workspaces): drop workspace_acl on down migration
2024-06-25 15:31:28 +02:00
Gergő Jedlicska
7714cc87a8
chore(workspaces): add EE license
2024-06-25 13:23:19 +02:00
Gergő Jedlicska
549a38dd53
feat(workspaces): add domain, graphql and persistent storage dataschema
2024-06-22 11:32:54 +02:00
Gergő Jedlicska
0b98278d86
feat(workspaces): add workspaces module with roles and scopes
2024-06-21 18:40:46 +02:00