Or, do you even need a procedure/function at all? If it can be accomplished in a single query, why not have the front end run that query directly? Cut out all the extra work of having a procedure run to get the same result.
Well, in my experience the developer that would write the front end code is the one that would write the stored procedure and it would be just as silly no matter which side the code is on. And I can control their privileges just as much without having to call a procedure.
I seriously had a developer say that all queries need to be in one line stored procedures that return refcursors. The explanation? Because they could lose the front end code and then they wouldn't be able to change the query if they had to. That was their real reason. Seriously. I'm not making that up.