Check Table Privilege

This chapter introduces how to check table privilege.

curl -u shiva:shiva -XGET "localhost:8902/hippo/v1/_security/tables/{table}?pretty"

Result:

{
  "book" : {
    "id" : "fc6feff4f303455a9347f9aab323dfc8",
    "owner" : "shiva",
    "acl" : [
      {
        "role" : "melon",
        "grantor" : "shiva",
        "privileges" : [
          {
            "privilege" : "PRIV_ALL",
            "with grant options" : true
          }
        ]
      }
    ]
  }
}

Parameter description:

ParametersDescriptionRequired
tableTable nameNo, supports using asterisk () wildcard character, defaults to
Table 44 Check Table Privilege (Restful API)