Hello friends, I ask for help,
I have already searched a lot and I have not been able to:
Is it possible for several people to have access to a view, and only be able to edit the records they made by themselves?
Hello friends, I ask for help,
I have already searched a lot and I have not been able to:
Is it possible for several people to have access to a view, and only be able to edit the records they made by themselves?
Would be:
if(
[xxxxx] = Useremail(),
“ADDS_AND_UPDATES” , " ADDS_ONLY"
)
It has NOT worked! Not even that…
IF((“VISITA”[Email] = [_THISROW].[Email])=VERDADEIRO, “ADDS_AND_UPDATES”,
“ADDS_ONLY”)
Because you trying to compare list “VISITA”[Email] with ordinar value [_THISROW].[Email] and next compares “result” with VERDADEIRO(?)
http://help.appsheet.com/en/articles/2355953-if
http://help.appsheet.com/en/articles/961337-yes-no-expressions
One way to do this would be to have a column, say [created_by] with initial value = USEREMAIL().
Then in the Edit action’s behavior>>only if this condition is true, set something like
[created_by] = USEREMAIL()
This way a record can be edited only by its creator.
You could maintain a list of superusers table, say supervisors, with one column, say user.
In that case the expression would be
OR (
IN(USEREMAIL(), supervisors[user],
[created_by] = USEREMAIL()
)
You cannot use Are updates allowed? in the table’s configuration to control access to individual rows. Are updates allowed? applies to the table as a whole. Instead, you’ll need to configure Only if this condition is true for the Add, Delete, and Edit actions of the table.
Muchas Gracias User Settings
eres el mejor!!!