You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Row permissions in Rhetos are not intended for this kind of features. RP rules can only be specified as a filter that will be applied on all data modifications (insert, update and delete).
This feature could be implemented in custom C# code: you can add custom code to Save method with one of the SaveMethod concepts (see examples on wiki page), or preferably develop a new custom concept with similar behavior.
You could add this code perhaps at OldDataLoaded position (after initialization, but before saving to database). Use insertedNew and updatedNew lists to check the inserted and updated records. Use _executionContext.UserInfo.UserName to get the current user that is executing this save operation.
Hi!
I would like to know is there any way to distinguish insert and update in DenyWrite RowPermission concept? Any example somewhere?
Thanks!
Greg
The text was updated successfully, but these errors were encountered: