Preventing Guest Users from Accessing admin features in training_app

0
Software:  Mendix Studio Pro 10.0. Current Status  I've modified the training_app to include a sign-in page that allows anonymous guest users to log in. However, the issue is that new users currently gain access to the admin perspective by default. I want to prevent this and ensure that all new users are logged in with the permissions of a trainee user who will have access to only the training events. Any suggestions on this issue would be appreciated? What's the best practice here on Mendix?    Deployed -  Mendix - Logins Overview  
asked
1 answers
2

Please check below. 

1. Check Anonymous User Role Configuration

- Go to Project → Security → Anonymous users.- Ensure the anonymous user role is mapped to a limited user role, such as Trainee.

 

2. Restrict Page Access by Role-In each page’s visibility settings, restrict access to roles explicitly.

 

3. Use Navigation Profiles- Under Navigation, define different navigation profiles for each user role. 

-Ensure the anonymous user’s navigation only includes pages meant for trainees.

 

4. Microflow Access Control- If you're using microflows to load data or perform actions, make sure they are restricted to the appropriate roles.

 

5. Default Home Page- Set the default home page for anonymous users. 

Thank you!!! 

answered