Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.0
    • 2.1.0
    • Sentry
    • None

    Description

      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

      alter database db1 set dbproperty('owner.privileges'='all with grant')
      

      The command should fail and the error message indicating the user does not have right to set this value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            linaataustin Na Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: