-
I need to know what is the correct way of getting all users to run different schema owners procedures and packages.
I have done the following:
1. Created a public synonym for the proc/pkg.
2. Given execute permissions to public.
Is there anything else I need to know. Or else is there a better way of doing this? I am having problems with the users not being able to run the procedures/packages?
ANy input on this would be greatly appreciated.
Thanks,
Chintz
-
What you have done is totally sufficient for your users to run those procedures. But even more important things about procedures is that the owners of the procedures have sufficient privileges themself! The owner of the procedure has to:
a) be an owner of the all objects referenced by a procedure
or
b) has all the neccessery privileges on the referenced objects from other schemas granted *directly* to them, not granted through roles.
-
Thanks for your reply. It is working fine. Those were the only steps.
CHintz