Restrict Access to web_service_admin role

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2019 01:01 AM
Is it possible to restrict access to web_service_admin role , I need to restrict access to insert, update to certain tables .
Thanks
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2019 01:06 AM
Only to web service admin role or that tables should not be accessed via webservices ?
If that latter one is your requirement you can just uncheck "Allow access to this table via web services" on the table configuration page
Mark this response as correct if that really helps
Thanks
Siva

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2019 01:23 AM
Thanks for your response.
Its both, in tables which it can access, i need to restrict it to certain operation .
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2019 01:27 AM
if you dont want webservice admin role to insert or update records on the table you can write acl for that but through web services if you dont want that to happen, i think you can get that writing execute operation acl on those
Hope this helps
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2019 01:33 AM
Hello Vignesh,
You will need to add create and write ACLs on those tables and main thing here is to prevent access for web services. So you need to add a condition which validates this and process your logic accordingly.
You can use the following script
if(!gs.getSession().isInteractive()){ //If user is not interactive from UI then dont give access
answer = false;
}
Thanks!