Hello!
Please advice how to avoid the problem adding record using "Allow add" option: (v2024.8)
"The current user (11) is not authorized to insert the record. Master filter: debitorId
= 10"
The most interesting thing is that if after getting this message just refresh (reload opened tab) debitorslist page then it allows to add record (popup window in previous tab).
User (11) has all permissions (dynamic user levels): add/edit/view/list/etc... (except Admin). It allows add records to all tables directly.
The structure is as follows:
Main table "loans" has "Allow add" option for fields "deditorId", "estateId" (from tables "debitors", "estate"). "estateId" field has "Parent field" and "Filter field" set "deditorId" in "Lookup table" settings.
The steps are as follows:
- /loansadd?showdetail=
- "Allow add" option for "deditorId" field - secces
- "Allow add" option for "estateId" where parent is just added on previous step "deditorId" record (lets say
debitorId
= 10") - and here I get error.
If I remove Master/Detail relations then it works as expected. It also work if I change userlevelid for user (11) as "Administrator" or add checkbox "Admin" in table "User Level Permissions" for all tables for particular User Level.
I also tried to add check boxes for all tables in Table settings "Master/Detail Add (as Detail)" but it doesn't help.