Here is where I am experiencing some issues
2.5 seconds:
update acs_objects
set security_inherit_p = 'f'
where object_id = '1290509'
1.6 seconds
select acs_permission__grant_permission(
'182879',
'27310',
'read'
);
So it appears that these are probably updating acs_object_party_privilege_map and related tables via triggers with this which will get really slow if you need to update more than 1 object. Its already pretty slow, several seconds to change permissions on 1 object.