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/01/06 11:07:38 UTC

[I] [Bug report] Grant privileges to a role, duplicated privilege name with different condition shouldn’t be allowed to grant [gravitino]

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

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   <img width="779" alt="image" src="https://github.com/user-attachments/assets/2a31b552-0795-42ac-a10d-12eac2257af0" />
   
   
   ### Error message and/or stacktrace
   
   N/A
   
   ### How to reproduce
   
   1. Create a role with securableObjects like 
   ```
   {
                   "type": "catalog",
                   "privileges": [
                       {
                           "name": "use_catalog",
                           "condition": "allow"
                       }
                   ],
                   "fullName": "file_catalog2"
               }
   ```
   2. Grant `use_catalog`  `deny` privilege to the role 
   ```
   {
                   "privileges": [
                       {
                           "name": "use_catalog",
                           "condition": "deny"
                       }
     ]
   }
   ```
   
   ### 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] Grant privileges to a role, duplicated privilege name with different condition shouldn’t be allowed to grant [gravitino]

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

   I will fix 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


Re: [I] [Bug report] Grant privileges to a role, duplicated privilege name with different condition shouldn’t be allowed to grant [gravitino]

Posted by "xunliu (via GitHub)" <gi...@apache.org>.
xunliu closed issue #6116: [Bug report] Grant privileges to a role, duplicated privilege name with different condition shouldn’t be allowed to grant
URL: https://github.com/apache/gravitino/issues/6116


-- 
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] Grant privileges to a role, duplicated privilege name with different condition shouldn’t be allowed to grant [gravitino]

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

   @jerqi Can 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


Re: [I] [Bug report] Grant privileges to a role, duplicated privilege name with different condition shouldn’t be allowed to grant [gravitino]

Posted by "xunliu (via GitHub)" <gi...@apache.org>.
xunliu closed issue #6116: [Bug report] Grant privileges to a role, duplicated privilege name with different condition shouldn’t be allowed to grant
URL: https://github.com/apache/gravitino/issues/6116


-- 
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