by martin.matejka@keboola.com But that's a bit tricky, regarding the security, when the user isn't member of the project yet. Imagine you have some security prepared (your filters are already created), but by the Assign guide mentioned above you must wait until the user is a member of the project and then assign filter to him. But before you'll assign the filter, there could be a significantly long period of time when user has access to all the data in GD project. You can prevent this by using following API call, which will:
Similar to other Postman guides, you need to fill the variables. New ones are:
{ "invitations": [ { "invitation": { "content": { "email": "NEW.USER@EXAMPLE.COM", "userFilters": [ "/gdc/md/GD-PROJECT-ID/obj/USER-FILTER-ID" ], "role": "/gdc/projects/GD-PROJECT-ID/roles/ROLE-ID", "action": { "setMessage": "Hi, welcome to the GoodData!" } } } } ] } |