To only return tables from the project of the the user

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
orlando
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 20.11.2005, 01:20
Location: São Paulo / SP
Contact:

To only return tables from the project of the the user

Post by orlando »

To some form of commando the ZConnection1.GetTableNames to only return the tables that using registered at the moment permission has to select ?? :roll:

Regards

Edmilson
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

Hmmm... Maybe I didn't understood well, so here's what I udnerstood:

You wand to show only the tables in a database that the user has privileges to SELECT?

Well, in this case you already done it. :) MySQL shows only the data that the user has privileged to SELECT. The same applies for databases, too.
orlando
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 20.11.2005, 01:20
Location: São Paulo / SP
Contact:

Post by orlando »

Yes but if I use command GetTableName in a PostGre DataBase it I show to all tables same those that the user does not have right to make one select

Regards

Edmilson
Post Reply