sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pras...@apache.org
Subject git commit: SENTRY-332: A role may got empty privilege, although the role have some privileges (Dapeng Sun via Prasad Mujumdar)
Date Tue, 15 Jul 2014 02:57:28 GMT
Repository: incubator-sentry
Updated Branches:
  refs/heads/master 26b208ed3 -> 6465503be


SENTRY-332: A role may got empty privilege, although the role have some privileges (Dapeng
Sun via Prasad Mujumdar)


Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/6465503b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/6465503b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/6465503b

Branch: refs/heads/master
Commit: 6465503be6a4268f7ff4a2d787ecf4a4ad174988
Parents: 26b208e
Author: Prasad Mujumdar <prasadm@cloudera.com>
Authored: Mon Jul 14 19:57:13 2014 -0700
Committer: Prasad Mujumdar <prasadm@cloudera.com>
Committed: Mon Jul 14 19:57:13 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/sentry/provider/db/service/model/package.jdo   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/6465503b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
index dc16772..945227e 100644
--- a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
+++ b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
@@ -62,7 +62,7 @@
       <field name="grantorPrincipal">  
         <column name="GRANTOR_PRINCIPAL" length="4000" jdbc-type="VARCHAR"/>
       </field>
-      <field name = "privileges" table="SENTRY_ROLE_DB_PRIVILEGE_MAP" >
+      <field name = "privileges" table="SENTRY_ROLE_DB_PRIVILEGE_MAP" default-fetch-group="true">
         <collection element-type="org.apache.sentry.provider.db.service.model.MSentryPrivilege"/>
             <join>
                 <column name="ROLE_ID"/>


Mime
View raw message