Github user interma commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/1081#discussion_r95521660
--- Diff: src/include/utils/rangerrest.h ---
@@ -80,6 +80,13 @@ typedef struct RangerPrivilegeResults
{
RangerACLResult result;
Oid relOid;
+
+ /*
+ * string_hash of access[i] field of ranger request
+ * use the sigh to identify each resource result
+ */
+ uint32 resource_sign;
+ uint32 privilege_sign;
--- End diff --
On a batch ranger acl check request/response:
The acl check result order isn't the same as request order.
When reponse's resource&privilege field is same as request, then we
consider them is a pair.
So we need storage resource&privilege sign in here.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---