You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "danhuawang (via GitHub)" <gi...@apache.org> on 2025/08/19 11:28:45 UTC

[I] [Bug report] A user can load model, but this user can't list all the model versions [gravitino]

danhuawang opened a new issue, #8182:
URL: https://github.com/apache/gravitino/issues/8182

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   userC can load the model
   <img width="758" height="707" alt="Image" src="https://github.com/user-attachments/assets/2b8f97b5-6914-4997-804b-42a8f644519b" />
   
   but userC list version , it return nothing
   <img width="810" height="559" alt="Image" src="https://github.com/user-attachments/assets/4786f342-1252-40ae-a660-cf39391ce2a5" />
   
   I switch to "anonymous" user, it return 4 verison
   
   <img width="762" height="649" alt="Image" src="https://github.com/user-attachments/assets/a26847cb-2712-416c-90f8-f66d2698d1c6" />
   
   ### Error message and/or stacktrace
   
   N/A
   
   ### How to reproduce
   
   1. create model catalog `model_catalog_1`,schema `model_schema_1 `, model `model_070 `, version `0`,`1`,`2`,`3`
   2. create roleC as following, create necessary catalogs  that the role needed.
   ```
   {
   "name": "roleC",
   "properties": {
   "k1": "v1"
   },
   "securableObjects": [
   {
   "type": "CATALOG",
   "privileges": [
   {
   "name": "USE_SCHEMA",
   "condition": "ALLOW"
   },
   {
   "name": "USE_CATALOG",
   "condition": "ALLOW"
   },
   {
   "name": "READ_FILESET",
   "condition": "ALLOW"
   },
   {
   "name": "WRITE_FILESET",
   "condition": "ALLOW"
   }
   ],
   "fullName": "fileset_catalog_1"
   },
   {
   "type": "CATALOG",
   "privileges": [  
   {
   "name": "USE_SCHEMA",
   "condition": "ALLOW"
   },
   {
   "name": "USE_CATALOG",
   "condition": "ALLOW"
   },
   {
   "name": "select_table",
   "condition": "ALLOW"
   }
   ],
   "fullName": "mysql_1"
   },
   {
   "type": "CATALOG",
   "privileges": [
   {
   "name": "USE_SCHEMA",
   "condition": "ALLOW"
   },
   {
   "name": "USE_CATALOG",
   "condition": "ALLOW"
   },
   {
   "name": "USE_MODEL",
   "condition": "ALLOW"
   }
   ],
   "fullName": "model_catalog_1"
   }
   ]
   }
   ```
   3. add userC to metalake
   4. grant roleC to userC
   5. use "userC" to load model 
   6. use "userC" to list model version , expect to see all the versions
   
   ### Additional context
   
   _No response_


-- 
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: commits-unsubscribe@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] A user can load model, but this user can't list all the model versions [gravitino]

Posted by "hdygxsj (via GitHub)" <gi...@apache.org>.
hdygxsj commented on issue #8182:
URL: https://github.com/apache/gravitino/issues/8182#issuecomment-3200391288

   > [@hdygxsj](https://github.com/hdygxsj) Could you help check this issue?
   
   ok


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] A user can load model, but this user can't list all the model versions [gravitino]

Posted by "xunliu (via GitHub)" <gi...@apache.org>.
xunliu closed issue #8182: [Bug report] A user can load model, but this user can't list all the model versions
URL: https://github.com/apache/gravitino/issues/8182


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] A user can load model, but this user can't list all the model versions [gravitino]

Posted by "danhuawang (via GitHub)" <gi...@apache.org>.
danhuawang commented on issue #8182:
URL: https://github.com/apache/gravitino/issues/8182#issuecomment-3200364659

   @hdygxsj Could you help check this issue?


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org