On Wed, May 10, 2017 at 1:35 PM, Gwendal Roué <[email protected]> wrote:
> > Le 9 mai 2017 à 15:41, Gwendal Roué <[email protected]> a écrit : > >> How are you going to handle TRIGGERs ? > > > > That's a very good question. > > Very good news: foreign keys and triggers are 100% handled by authorizer > callbacks, for free :-D > Thanks for confirming. That's what I thought, from previous discussions on this list. We haven't heard from Richard, but I hope we will eventually. I very much agree with you the authorizer API should be "complete" and "exhaustive" in what is truly accessed. A flag could be set to not issue the new calls you propose, for backward compatibility purposes (and also perhaps because both FKs and TRIGGERs are an implementation "detail" of the schema, that not all clients should be aware of, unless explicitly requested by the client, perhaps even checked by the authorizer itself, to complete the circle :)). --DD _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

