Allow system access according to user level

I’m making an erp that the user will be approved through an ADMIN screen. To access this screen, the user will enter the registration e-mail. If the email is not in the database, I would like the login button to disappear from the pop-up. And also, that depending on the user’s level, he was directed to a certain page. For example: if the user is an administrator, he goes to a page. If he is a partner, he goes to another. I put the rule, however, the button is not disappearing and when it enters, all users enter the page, regardless of level, enter the admin page.

How can I resolve this?

image
image
image

You just need to log the user in, then have 2 Go to page actions where 1 will send a non admin employee to one screen and an admin to another. OR send them both to the same place, and restrict access to parts of the system based on the Current User’s Access level

This topic was automatically closed after 70 days. New replies are no longer allowed.