Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20961

RBAC: Service Operator/Administrator Role don't have HOST.ADD_DELETE_COMPONENTS permission so we 'd better hide relevant buttons on Web UI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • trunk
    • trunk, 2.5.1
    • None
    • None

    Description

      Steps to reproduce:
      1.Create a user named test and assign Service Operator(Administrator) Role to this user.
      2.Login with this user and open Services -> Hive -> Service Actions, the menu include highlight items : Add Hive Metastore and Add HiveServer2.
      Zookeeper,Hbase and other service also have the above issue.

      Because Service Operator(Administrator) Role don't have HOST.ADD_DELETE_COMPONENTS permission at all , we 'd better hide these buttons

      Attachments

        1. AMBARI-20961.patch
          1 kB
          Lei Yao

        Issue Links

          Activity

            People

              yaolei Lei Yao
              yaolei Lei Yao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: