Skip to main content
1-Visitor
October 27, 2016
Question

Datatable permission on single entries

  • October 27, 2016
  • 1 reply
  • 3114 views

Is it possible to set permission on datatable single entries?

If I have two users (A and B) and a DataTable which is editable by both users, is it possible to set my DT permissions such that each user may only see their entries?

1 reply

1-Visitor
October 27, 2016

Hi Fabio,

Not Out-Of-The-Box but easily you can write a wrapper service over standard query table feature which forces a query condition with current user.

Carles.

1-Visitor
February 27, 2017

Well you could make a wrapper service which checks permission for the data but you still have to give ServiceInvoke-permission for the datatable service to some of these methods GetDataTableEntries, GetDataTableEntryByKey, QueryDataTableEntries. And if you do that the user can query the datatable with rest client and see all the data from the datatable. So I don't know if there is a easy way to make this happen.

1-Visitor
February 27, 2017

Hello,

In that case you could not grant any direct permission to the OOTB services of DataTable for users, just for System user. That would help, but needs additional user-check in the wrapper service.

Regards,

J.