-
Bug
-
Resolution: Unresolved
-
Major
-
12.0
-
None
Row based security doesn't work for materialized tables (views). For example, having the following permissions for materialized views.test_view1 and views.test_view2 views according to query plan Teiid applies ApplySecurity rule only for views.test_view2 view but should also apply for views.test_view1 view:
<data-role name="role1" any-authenticated="true" allow-create-temporary-tables="true"> <description>Allow read only</description> <permission> <resource-name>dsp</resource-name> <allow-read>true</allow-read> </permission> <permission> <resource-name>views.test_view1</resource-name> <allow-read>true</allow-read> <condition constraint="false">col2 > 1</condition> </permission> <permission> <resource-name>views.test_view2</resource-name> <allow-read>true</allow-read> <condition constraint="false">col0 = 'sa'</condition> </permission> </data-role>
The same situation is for column masking feature, see below.