You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Roberta Marton (JIRA)" <ji...@apache.org> on 2017/10/31 16:02:00 UTC

[jira] [Closed] (TRAFODION-2705) user has "SHOW" privilege can't do 'showddl user'

     [ https://issues.apache.org/jira/browse/TRAFODION-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roberta Marton closed TRAFODION-2705.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3-incubating

> user has "SHOW" privilege can't do 'showddl user'
> -------------------------------------------------
>
>                 Key: TRAFODION-2705
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2705
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-security
>         Environment: Centos6.7 + HDP2.4.2
> Centos6.7 + CDH5.7.6
>            Reporter: Gao, Rui-Xian
>            Assignee: Roberta Marton
>            Priority: Minor
>             Fix For: 2.3-incubating
>
>
> If a user wants to do “showddl user”, what privilege does the user need to have ? I granted “SHOW” to the user, but the user can only do showddl user on himself.
> Test result :
> ===================================================================
> SQL>connect trafodion/traf123;
> Connected to EsgynDB Advanced
> SQL>grant component privilege "SHOW" on sql_operations to qauser_sqlqaa;
> --- SQL operation complete.
> SQL>connect qauser_sqlqaa/QAPassword;
> Connected to EsgynDB Advanced
> SQL>showddl user qauser1;
> *** ERROR[1017] You are not authorized to perform this operation. [2017-08-08 15:48:39]
> SQL>showddl user qauser_sqlqaa;
> REGISTER USER "QAUSER_SQLQAA";
> --- SQL operation complete.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)