[teiid-issues] [JBoss JIRA] (TEIID-2327) Add column masking

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Fri Apr 26 16:39:53 EDT 2013


    [ https://issues.jboss.org/browse/TEIID-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770490#comment-12770490 ] 

Steven Hawkins commented on TEIID-2327:
---------------------------------------

There are two approaches to take:

1. use a new metadata representation:
<mask resource-name="">...</mask>
...

such that resource-name must be a fully qualified column name (although it would make more sense to use schema/object/column).  This would be defined separately from data roles as there is only a single masking definition that is applicable to a given column.  The expectation would be that the masking expression would be a case statement based upon hasRole.

or

2. add an ordered mask element to the permission metadata:
<mask order="1">...</mask>

Here we would determine the relevant mask by looking over all applicable roles for the mask with the lowest ordering.

I'm leaning toward the second representation as it makes masking well coupled with the role definition.

                
> Add column masking
> ------------------
>
>                 Key: TEIID-2327
>                 URL: https://issues.jboss.org/browse/TEIID-2327
>             Project: Teiid
>          Issue Type: Sub-task
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.4
>
>
> Support for column masking should be added to data roles.  A typical approach would be to only affect the final projected values from user queries and have only one mask applicable at a time.
> A possibly related ability would be to hide columns (much like hidden tables) to our metadata.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list