sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject sentry git commit: SENTRY-1215: Sentry's db provider makes privileges case insensitive.(Ashish K Singh via Colin Ma)
Date Tue, 26 Apr 2016 01:19:33 GMT
Repository: sentry
Updated Branches:
  refs/heads/master a11cf624d -> ca4968cfe


SENTRY-1215: Sentry's db provider makes privileges case insensitive.(Ashish K Singh via Colin
Ma)


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

Branch: refs/heads/master
Commit: ca4968cfeadb0c30abaf1fd4b40705b62b09d44d
Parents: a11cf62
Author: Colin Ma <colin@apache.org>
Authored: Tue Apr 26 09:51:19 2016 +0800
Committer: Colin Ma <colin@apache.org>
Committed: Tue Apr 26 09:51:19 2016 +0800

----------------------------------------------------------------------
 .../provider/db/generic/service/persistent/PrivilegeObject.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/ca4968cf/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/generic/service/persistent/PrivilegeObject.java
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/generic/service/persistent/PrivilegeObject.java
b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/generic/service/persistent/PrivilegeObject.java
index 0ac39f4..05958fc 100644
--- a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/generic/service/persistent/PrivilegeObject.java
+++ b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/generic/service/persistent/PrivilegeObject.java
@@ -207,7 +207,7 @@ public class PrivilegeObject {
           }
           @Override
           public String getName() {
-            return authorizable.getName().toLowerCase();
+            return authorizable.getName();
           }
         });
       }


Mime
View raw message