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?