Restrict Access to web_service_admin role

VigneshMC
Mega Sage

Is it possible to restrict access to web_service_admin role , I need to restrict access to insert, update to certain tables .

Thanks

5 REPLIES 5

siva_
Giga Guru

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

Thanks for your response.

Its both, in tables which it can access, i need to restrict it to certain operation .

Thanks

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

Alikutty A
Tera Sage

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!