Github user wcl14 commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/1074#discussion_r95102766
  
    --- Diff: src/backend/catalog/aclchk.c ---
    @@ -224,16 +224,17 @@ restrict_and_check_grant(bool is_grant, AclMode 
avail_goptions, bool all_privs,
         * If we found no grant options, consider whether to issue a hard error.
         * Per spec, having any privilege at all on the object will get you by
         * here.
    +    * Superusers or on QE bypass all permission checking.
    --- End diff --
    
    For ranger, we should still do checks but for normal ACL checks, we should 
bypass all permission checking for  superusers. I should change the comment, 
and thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to