Hi shedb,
you have the option to share os users among x and y, i.e. give them the same login. To take this to extremes, you may want to develop/create your database tables with the same user that your application uses.
If this is not an option consider writing an application along these lines:
for each ( table = ( select tabschema . '.' . tabname from syscat.tables where type <> 'A' ) )
do
grant select, insert, update, delete on table to public
done
Generally, DB2 requires creators of tables and views to explicitly grant other users privileges.
Johann
Quote:
Originally posted by shedb
thank a lot nidm,
what if y is not a very privileged user as x?
if y is only allowed to "select" the tables of x?
can anything be done in this case?
|