I have an use case, where any user can register their account with basic details such as username, password, email etc., and should be able to login back again with the registered details.
I am able to figure out how to start and proceed, like I started to use the Administration module “Account” entity and Account_Overview page is where all the users are created and managed.
Here are the different solutions I tried and stuck in middle in every solution :
User clicks on the register button, user is being redirected to “Administration.Account_overview” page.
a) If the user has role “Administrator”, he can able to see all existing details and register the account properly. See the highlighted “demo_administrator” on the right.
All the page and entity access has been setup correctly and full access have been given for all roles for this page and entity, but still Account_overview page works only for Administrator. I want any user to create an account, not only administrator
Created a domain model entity “REGISTRATION” and inherited (Generalization) – Administrator.ACCOUNT entity.
This added lot of complexities to the entity and was breaking.
Please shed some light. Please provide me a proper solution for my simple use case.
Thanks for all.
I would suggest following this learning path: https://gettingstarted.mendixcloud.com/link/module/96/lecture/787
And best practise would be to not use a generalization of Account but use a one on one reference to account, since a user has an account and not is an account.