[teiid-issues] [JBoss JIRA] (TEIID-5798) Mixed PERMISSION GRANTS

Steven Hawkins (Jira) issues at jboss.org
Fri Feb 28 15:46:00 EST 2020


     [ https://issues.redhat.com/browse/TEIID-5798?focusedWorklogId=12450349&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-12450349 ]

Steven Hawkins logged work on TEIID-5798:
-----------------------------------------

                Author: Steven Hawkins
            Created on: 28/Feb/20 3:45 PM
            Start Date: 28/Feb/20 3:44 PM
    Worklog Time Spent: 2 hours, 30 minutes 
      Work Description: for doc updates and second commit for migration

Issue Time Tracking
-------------------

    Remaining Estimate: 0 minutes  (was: 2 hours)
            Time Spent: 2 days, 2 hours, 30 minutes  (was: 2 days)
            Worklog Id:     (was: 12450349)


> Mixed PERMISSION GRANTS
> -----------------------
>
>                 Key: TEIID-5798
>                 URL: https://issues.redhat.com/browse/TEIID-5798
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Query Engine
>            Reporter: Christoph John
>            Assignee: Steven Hawkins
>            Priority: Major
>             Fix For: 13.1
>
>   Original Estimate: 6 hours
>          Time Spent: 2 days, 2 hours, 30 minutes
>  Remaining Estimate: 0 minutes
>
> Hello,
> I am currently trying to set a set of permissions on a table/view. Hence a condition on INSERT,UPDATE,DELETE and an unconditioned SELECT.
> However, it seems that conditioned and unconditioned GRANT statements do not work together.
> {code}
> GRANT INSERT,UPDATE,DELETE ON TABLE "my_nutri_diary.UserDefinedProducts_SRC" CONDITION 'UserDefinedProducts_SRC.fkProfile in  (SELECT Account.idProfile FROM Account WHERE Account.uuidUser = LEFT(user(), 36) )' TO odata;
> GRANT SELECT ON TABLE "my_nutri_diary.UserDefinedProducts_SRC" TO odata;
> REVOKE ALTER,EXECUTE ON TABLE "my_nutri_diary.UserDefinedProducts_SRC" FROM odata;
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list