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:
Parameters | Description | Required |
---|---|---|
table | Table name | No, supports using asterisk () wildcard character, defaults to |