In a DM4 world I had the following functionality:
During postlogin I would create a user topic (domain model of the app, not the DM user types). Later it would create a workspace for this user and make the formerly create domain model user part of the workspace by assigning it. This was done through the workspace service.
In DMX world this fails for many reasons the first being:
I cant get the user creation to work. I assume this used to be a situation without explicit workspace assignment in DM4. In DMX I tried to create the user using all kinds of workspace assignments (during creation) but none would be OK because I get this error:
WARNING: Object 24194 (typeUri=dmx.workspaces.workspace_assignment) is not assigned to any workspace – WRITE permission is refused
(typeUri=“dmx.workspaces.workspace_assignment”) to workspace 24178 failed
dmx.workspaces.workspace_assignment is not under my control, so I cant do anything about it not being part of any workspace.
How am I supposed to create that user and in what workspace?