Subject RE: [IBO] Roles & Permissions
Author Norman Dunbar
Alan,

officially, I have no idea, but unofficially :

can you trap the role being used (TIB_Connection.SQLRole ?) and if the one
in question is found, set all the queries and/or transactions ReadOnly
property to true ? The help for TIB_Transaction says that setting this to
true propogates to all data sets connected to the transaction.

I don't (yet) use roles, and I have not had anything like this problem
before, but it might just work. I've just tested setting a transaction to
read only and it does indeed stop my update bars from allowing me to
add/edit/delete - so it could be what you are after.

HTH


Cheers,
Norman.

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman.Dunbar@...
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------
This email is intended only for the use of the addressees named above and
may be confidential or legally privileged. If you are not an addressee you
must not read it and must not use any information contained in it, nor copy
it, nor inform any person other than Lynx Financial Systems or the
addressees of its existence or contents. If you have received this email
and are not a named addressee, please delete it and notify the Lynx
Financial Systems IT Department on 0113 2892990.