]
Steven Hawkins resolved TEIID-2167.
-----------------------------------
Resolution: Done
Added the ability to track the resource type as well. Since this value is optional for
backwards compatibility no additional runtime validation was added for the property, but
if converted to ddl we'll enforce the validity of the resource.
Permissions should also specify object type
-------------------------------------------
Key: TEIID-2167
URL:
https://issues.jboss.org/browse/TEIID-2167
Project: Teiid
Issue Type: Quality Risk
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 9.3
Teiid permissions only specify a resource name. However it is possible to have to have
conflicting schema/table (since we are using non-sql safe unquoted names) or
table/procedure names.
Ideally we would use proper sql names (this is true everywhere, not just in permissions)
and specify the object type (TABLE, PROCEDURE, SCHEMA, LANGUAGE, FUNCTION, etc.). This
would also allow us to have a more standard USAGE permission, rather than something like
LANGUAGE, which is used to convey the permission and object type.