Validate edit or delete

Hi Community

In my app I use user settings to control user actions.

How can I validate an edit or delete based on a [name] column value?

Basically I need the user to only be able to edit or delete a record if the [name] column is the same as his user settings.

Use an appropriate expression in the corresponding system-defined action’s Only if this condition is true setting.

image

2 Likes

Hi @Steve

This works perfectly for USEREMAIL()

But I would like to validate this behavior considering the email entered in the USERSETTINGS login

It is possible?

Give it a try! :slight_smile:

I tried this (USERSETTINGS = [EMAIL])

but the result was not the desired :pensive:

any tips?

2 Likes

Ok, I got it

The expression looks like this (USERSETTINGS(EMAIL) = [USER])

Thank you very much

2 Likes