danhuawang opened a new issue, #8501:
URL: https://github.com/apache/gravitino/issues/8501
### What would you like to be improved?
If the user's is as following, then list operation in this catalog is prefer
to reject.
But currently return empty list.
```
{
"code": 0,
"role": {
"name": "testRole1",
"audit": {
"creator": "anonymous",
"createTime": "2025-09-10T11:44:32.629305171Z"
},
"properties": {
"k1": "v1"
},
"securableObjects": [
{
"type": "catalog",
"privileges": [
{
"name": "use_catalog",
"condition": "deny"
}
],
"fullName": "auth_hive_catalog2"
}
]
}
}
```
Response
URL:
http://192.168.194.174:8090/api/metalakes/authorization_test/catalogs/auth_hive_catalog2/schemas/auth_hive_schema2/tables
Status code: 200
Content Type: application/json
Request Headers
Accept=application/vnd.gravitino.v1+json
Authorization=Basic QWxpY2U6MTIz
Content-Type=application/json
Response Headers
Date: Wed, 10 Sep 2025 11:48:42 GMT
Content-Type: application/json
Content-Length: 27
Server: Jetty(9.4.51.v20230217)
Response Body
{
"code": 0,
"identifiers": [
]
}
### How should we improve?
Response code: 403
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]