Posted on 18/10/2024 17:37:56
Hi Adrian
You might want to take a look at manage users here:
https://github.com/dynamicweb/Swift/tree/main/Swift/Files/Templates/Designs/Swift/UserManagement/CreateProfile
It will create a user for you using another user (administrator).
We currently have a bug related to customernumber not being saved on the user you create - the problem is security (Doing this custom can also pose a serious security issue)
We are also in the process of creating new users modules supporting viewmodels for DW10. And managing users under another user, is part of the scope. Who can edit which fiels is the difficult part - e.g. being able to change customer number and other things makes it possible to get access to other users data and stuff like that.
If you have the chance to describe the entire flow you are working on, that would be appreciated.
Thanks, Nicolai