A new switch has been added to ctsqlimp to grant public read-only access to linked tables.
The existing -b (lowercase) switch grants all permissions on the table to the public.
The new -B (uppercase) switch grants read-only permissions on the table to the public.
If both -B and -b are specified, the read-only setting takes precedence.
Note: This introduces a change in behavior for existing applications because this switch is now-case sensitive.
Notice that the owner of the table, as well as the DBA, have all the permissions.
A new mode, CTSQLCB_GRANT_PUBLIC_RO was added to the SQLcallback, and a new member, grntro, was added to the CTSQLIMPOPTS structure.