We have a requirement where users should not be allowed to delete any data from the schema. We have restricted the users with 'Delete data' option in folder properties. But users are still able to delete using query & update data activity in the workflow.
Is there any way to restrict deletion?
Views
Replies
Total Likes
Hello @vkt1989
Its not a bug its a feature. We have the same setup while on workflow i can remove the entire instance if i please.. but in the explorer i cannot remove a single thing.. maybe its a product related and not the setup itself.
But additional to folder restrictions you might set up the sysfilters on schemas maybe that way the update activity will throw an error
https://docs.adobe.com/content/help/en/campaign-classic/using/configuring-campaign-classic/editing-s...
Also you can add another enumeration which is used in update data where you will not add delete.
the used enumeration is in nms:workflow ---> operation type
<enumeration basetype="string" default="insertOrUpdate" name="operationType">
<value label="Insert or update" name="insertOrUpdate"/>
<value label="Insert" name="insert"/>
<value label="Update" name="update"/>
<value label="Update and merge collections" name="merge"/>
<value label="Delete" name="delete"/>
</enumeration>
Then in the FORMS you will just feed different enumeration based on rights?
<input xpath="@operationType"/>
<container type="visibleGroup" visibleIf="GetLinkCardinality([../@schema], @dstExpr)==0 OR @dstExpr=''">
<input enum="xtk:workflow:mergeType" label="Merge type" type="sysenum"
xpath="@operationType"/>
</container>
Using enableIf
Views
Replies
Total Likes
Views
Replies
Total Likes
Ok i did not know, but when you second that with sysfilters on schemas it should do the job. Or not i do not see delete sysfilter in the docu
Views
Replies
Total Likes
Views
Replies
Total Likes
Or you can change the drop down values based on rights? Edited the answer
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi, On a product standpoint, the path forward to control data CRUD remains the combo folder restriction + sysfilters. Sysfilters needs to apply on each schema/table and then could impact overall queries performance. On top of this, admin users cannot be blocked. admin is by definition such level of user with total control on the instance.
Views
Replies
Total Likes
Hi @vkt1989 ,
Were you able to resolve this with the help that you got? Please let us know.
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies