jinu Hi,
if I understand correctly: struct could.
The ---- struct lookup ----
is for the setup.
---- struct lookup ----
schema: usercheck
cols: *
csv: 0
----
---- struct table ----
schema: usercheck
cols: *
filter: user = $USER$
csv: 0
----
logged in user: admin
Schema:
{
"structversion": "2021-07-05",
"schema": "usercheck",
"id": "20",
"user": "admin",
"config": {
"allowed editors": "",
"label": {
"en": ""
}
},
"columns": [
{
"colref": 1,
"ismulti": false,
"isenabled": true,
"sort": 10,
"label": "user",
"class": "User",
"config": {
"visibility": {
"inpage": true,
"ineditor": true
},
"existingonly": true,
"autocomplete": {
"fullname": true,
"mininput": 2,
"maxresult": 5
},
"label": {
"en": "User"
},
"hint": {
"en": ""
}
}
},
{
"colref": 2,
"ismulti": false,
"isenabled": true,
"sort": 20,
"label": "choice",
"class": "Checkbox",
"config": {
"visibility": {
"inpage": true,
"ineditor": true
},
"values": "yes,no",
"label": {
"en": "Choice"
},
"hint": {
"en": ""
}
}
}
]
}
~~NOCACHE~~
should be set.
The Information in ---- struct table ----
is visible to the logged in user.
saggi