Subject | Re: [Firebird-Architect] Execute procedure using Role ? |
---|---|
Author | Doug Chamberlin |
Post date | 2009-05-25T00:55:05Z |
Geoff Worboys wrote:
values to be granted to the target object. If multiple roles are granted
to a procedure which should it execute under?
Better would be something like
ASSIGN <role name> TO PROCEDURE <procedure-name>;
BTW, I like your proposal a lot!
> What I actually had in mind something more along the lines of:That statement is problematic since GRANT has always allowed multiple
> GRANT <rolename> TO PROCEDURE <procedure-name>;
> whereupon the procedure would automatically execute within
> the context of that <rolename>.
values to be granted to the target object. If multiple roles are granted
to a procedure which should it execute under?
Better would be something like
ASSIGN <role name> TO PROCEDURE <procedure-name>;
BTW, I like your proposal a lot!