Users and Permissions with int as access level

Hi,

I’m struggling with user permissions for my site.

I have one table for my usertable. For the access level I have a column with int.

Administrator = 1
Employee (Mitarbeiter) = 2
User = 4

This is how I have it setup after reading the documentation.

I can not make it work. What I’m doing wrong?

A little more detail as to what you mean may help, what do you mean by “I can not make it work”
What, exactly, is the issue

I get access forbidden for server actions which are restricted.

The admin user has the correct value 1 in the level column of the user table.

Do the conditions only work with characters?

edit:
It does work if I set only one permission, but it does not work with multiple selections.


image

Just checked, seems to be an issue with multiple permissions, getting same problem from 2 user levels with letter designations also.

Suggest you submlit a bug report

Hi @MH2ag, change the Level = 1 to Level IN 1.

Hi Brian,
thanks a lot for your help and confirming that it is a bug. I will submit a bug report.

Hi @scott,
thanks for your suggestion. I changed the conditions to „IN“ but there is no difference. It still does not work.