Does your user table already have a security filter of [Email] = USEREMAIL()?
If so, then implement a security filter on the RESERVE table with expression of IF(INDEX(user table[Level], 1) = "full", true, [useremail] = INDEX(user table[email], 1)
Does your user table already have a security filter of [Email] = USEREMAIL() ?> > If so, then implement a security filter on the RESERVE table with expression of IF(INDEX(user table[Level], 1) = "full", true, [useremail] = INDEX(user table[email], 1)> > That should do it. (Untested)
Correcting a piece of information, I’m not using useremail() … I’m using usersettings.
So, i thought that, knowing who the usersettings(email) is, i check the user table column [level] .
If USERSETTINGS(EMAIL), table USER [Level] = “full” then you can see all records in the RESERVE table
Else If USERSETTINGS(EMAIL), table USER [Level] = “limited” then can see only the records, which in the column [Email] is the same as USERSETTINGS(EMAIL), in the RESERVE table.
Replace user-email (2x) with the name of the column in the User table that contains the user’s email address, and reserve-email (1x) with the name of the column in the Reserve table that contains the email address.
The expression answers the question: is there at least one row in the User table (ISNOTBLANK(FILTER("User", ...))) that belongs to the current user (([user-email] = USERSETTINGS("Email"))) that indicates the user has either full access (("full" = [Level])) or limited access (("limited" = [Level])) and the Reserve row is this user’s (([user-email] = [_THISROW].[reserve-email]))?
Maybe this?> > auto> ISNOTBLANK(> FILTER(> "User",> AND(> ([user-email] = USERSETTINGS("Email"))> OR(> ("full" = [Level]),> AND(> ("limited" = [Level]),> ([user-email] = [_THISROW].[reserve-email])> )> )> )> )> )> > > > Replace user-email (2x) with the name of the column in the User table that contains the user’s email address, and reserve-email (1x) with the name of the column i the Reserve table that contains the email address.> > The expression answers the question: is there at least one row in the User table ( ISNOTBLANK(FILTER("User", ...)) ) that belongs to the current user ( ([user-email] = USERSETTINGS("Email")) ) that indicates the user has either full access ( ("full" = [Level]) ) or limited access ( ("limited" = [Level]) ) and the Reserve row is this user’s ( ([user-email] = [_THISROW].[reserve-email]) )?