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

Sergio Peña resolved SENTRY-2152.
---------------------------------
    Resolution: Won't Fix

Closing this Jira as it is not required for the new owner privilege 
implementation.

> 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)

Reply via email to