sentry-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <j...@apache.org>
Subject [jira] [Closed] (SENTRY-2152) Only Admin can set dbproperty 'owner.privileges'
Date Fri, 04 May 2018 20:25:00 GMT

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

Sergio Peña closed SENTRY-2152.
-------------------------------

> Only Admin can set dbproperty 'owner.privileges'
> ------------------------------------------------
>
>                 Key: SENTRY-2152
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2152
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Na Li
>            Priority: Major
>             Fix For: 2.1.0
>
>
> Right now, anyone can set database property. We should add authorization when setting
dbproperty 'owner.privileges' from hive, so only admin can do it.
> The allowed values are: none, all, all with grant
> For example, when a non-admin user issues command
> {code:java}
> alter database db1 set dbproperty('owner.privileges'='all with grant')
> {code}
> The command should fail and the error message indicating the user does not have right
to set this value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message