Permission denied after login

Wappler 7.7.4

macOs 15.7.4

Hello everyone!

I’m creating a new node.js project. I don’t know why after successful login, I’m unable to access dashboard. It’s restricted to Active Admin. For that user account status = Active.

  1. main.ejs

Note: When Permissions is set to Any then there is not problem.

  1. adminSecurity

I suspect the problem comes from here:

Maybe you're selecting the record id, instead of the column where the userid is.

For example:

I have a table users:
image

So my userid is 1749

And I have a table roles, where I check:

That is because in the table roles, I have a column userid_roles (where the userid is stored) and that should be the column selected on the security provider.
image

I think you're selecting this one instead:
image

If not the case, maybe you can share how your data is stored :slight_smile: