Hi all, I am building my first app and have created a log-in system for anonymous users using the Mendix tutorial in the intermediate courses. I have also published my application. But I have two problems that I am not sure how to fix: 1. Demo users are still enabled in my production environment and I don't know how to turn this off, so any user can currently just select the demo_administrator role and have full rights. 2. I want to have a page for the admin off the application to assign roles to accounts. I have an account overview page in which I can see the name, email and other information of the existing accounts. This view also has an edit information page that my admin role can access through an edit information button, but I don't know how to add a drop down label to be able to chose the roles. Can someone explain to me how to fix my two problems? Or if there is documentation, a tutorial or something similar already existing where I can find it? Thank you for reading!
asked
Jeroen Burggraaf
1 answers
1
1. If you go to your project security > Demo users > You can disable demo_users here.
2. If you take a look in your project at marketplace modules > Administration module > User Management folder > Admin folder > You'll find 2 pages: Acount New & Account Edit. In these page you have a Reference Set Selector with the caption 'User role'. With these you can select user roles to an account. Connect this pages to your logic and you should be able to configure the user roles for accounts.