Restrict data deletion in update Data activity | Adobe Higher Education
Skip to main content
Level 2
August 17, 2020
Frage

Restrict data deletion in update Data activity

  • August 17, 2020
  • 2 Antworten
  • 4145 Ansichten

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?

 

 

Dieses Thema wurde für Antworten geschlossen.

2 Antworten

Marcel_Szimonisz
Community Advisor
Community Advisor
August 18, 2020

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-schemas/filtering-schemas.html#system-filters


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

https://docs.adobe.com/content/help/en/campaign-classic/using/configuring-campaign-classic/input-forms/form-structure.html#enabling-container
Marcel

vkt1989Autor
Level 2
August 18, 2020
Hi @marcel_szimonisz. Its mentioned in the document that 'This restriction applies only to non technical users: a technical user, with related permissions, or using a workflow, will be able to retrieve and update data.' This means Anyone with workflow activity knowledge can bypass this restrictions
Sukrity_Wadhwa
Community Manager
Community Manager
August 31, 2020

Hi @vkt1989 ,

 

Were you able to resolve this with the help that you got? Please let us know.

 

Thanks!

Sukrity Wadhwa