ap11
ap11

Reputation: 15

Security groups in slate

I have a dataset with writeback synced to phonograph. The table contains data by countries. Users should be able to access and edit their country data. How do I restrict user's viewer and editor access in slate?

I have created security groups by country. Should I use restricted views to control access or is there another way to do it in slate?

Upvotes: 1

Views: 101

Answers (1)

Ontologize
Ontologize

Reputation: 639

Yes, Restricted Views will let you limit view & edit access on a per-user/per-country level, assuming you have a country attribute on the users and a corresponding field in your dataset.

FWIW I would suggest an object type backed by a restricted view instead of writing directly to phonograph, if that's what you're currently doing. Note the warning on this page in the docs about writing to Phonograph from Slate.

Upvotes: 1

Related Questions