Subject | RE: [Firebird-Architect] Execute procedure using Role ? |
---|---|
Author | Leyne, Sean |
Post date | 2009-05-26T21:49:16Z |
Geoff,
You want an otherwise hidden variable which are visible to triggers, so
that the operation of the triggers can vary depending on the
variable(s).
Sean
> > Packages is like Pascal units. [...]As I see it, what Vlad has proposed is exactly what you need.
> > For your issue with triggers you could create package with
> > private variable and public get\set procedures. Grant access
> > on set-procedure for user callable procedures and grant
> > access on get-procedure for triggers.
>
> Hmmm... if this is possible then it may well be able to solve
> my problem.
>
> I dont think it is as elegant as executing a procedure with a
> specific role (which would also help to simplify the granting
> of procedure permissions), but it does sound like a workable
> solution.
You want an otherwise hidden variable which are visible to triggers, so
that the operation of the triggers can vary depending on the
variable(s).
Sean