On 12/15/2015 02:58 PM, Dimitry Sibiryakov wrote:
> 15.12.2015 12:54, Alex Peshkoff wrote:
>> No. To change (or not) cache settings we need to know whether current
>> user has DBO rights or not. And this becomes known only after the call
>> to mapUser.
>     Do you mean cache settings written into database or memory cache settings?
>     I was sure that for the latter user don't need DBO rights

In case of classic/superclassic - yes you are right. In case of super - 
only DBO can change in memory cache settings cause they are shared 
between connections. (Sometimes changing memory cache was possible in 
super for everyone, it was fixed in 2.X).

> and for the former error is
> thrown on an attempt to...
>

So you want to say that in case of CS there is no need in checking for 
DBO and therefore calling mapUser too early? Seems to be so.
I will review the code when finish with crypt manager.


------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to