Duplicating a dataset that has row level security (RLS)

Does anyone know how to duplicate a dataset that has RLS? When I click on edit dataset, and the dropdown to duplicate dataset, it says it’s not able to because of the RLS. Is there a workaround, or a way to remove RLS so I can duplicate it? Thanks

Hi @ineedqshelp,

The workaround is to use the API. Use the DescribeDataset operation on the original dataset and copy its definition. Then use the CreateDataset operation with the copied dataset definition to create the duplicate.

It’s not clear to me why the UI has this limitation if it can be handled by the API…

1 Like

Hi @ineedqshelp, I am marking @David_Wong response as solution. If you have further questions on this feel free to reopen this thread.

Regards,
Karthik

1 Like