Keith Wilby said:
"User" is the linked table owner (logical)
"User" has full permissions to the linked tables ... but
"User"'s parent groups Guest and Assessors have *no* permissions to the
linked tables.
"User" cannot open the tables from the db window, the "no permissions"
error is generated.
I should know this but the truth is that I've never encountered this
scenario - do the group permissions override account permissions, and if
that is true, why does the code run for "User"?
The "User" user owns the links; that overrides anything. They still get 'no
permissions' because they don't have any permissions on the tables in the
backend, just the links in the frontend. If they attempted to link to the
those tables via the LTM, it wouldn't work because they have no permissions
on the backend tables. However using the Connect property in code, the
error is ignored.
You can grant full permissions on the <tables/queries> in the front end for
all Groups and they'll still be restricted based on their permissions on the
tables in the backend. You need to separate permissions on the tables in
the backend and the links in the frontend.
Having permissions on the links allows them to read the link and make the
connection, however their permissions on the table in the backend doesn't
allow them to actually open the table and read the data.