falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sowmya...@apache.org
Subject falcon git commit: FALCON-1943 Extension API/CLI fails when authorization is enabled
Date Tue, 17 May 2016 21:40:38 GMT
Repository: falcon
Updated Branches:
  refs/heads/master c59aa1070 -> 4ccd3b119


FALCON-1943 Extension API/CLI fails when authorization is enabled

Author: Sowmya Ramesh <sramesh@hortonworks.com>

Reviewers: "Venkat Ranganathan <venkat@hortonworks.com>, Ying Zheng <yzheng@hortonworks.com>"

Closes #145 from sowmyaramesh/FALCON-1943


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

Branch: refs/heads/master
Commit: 4ccd3b119389e9707cc69ef89e6d38dd6639cb32
Parents: c59aa10
Author: Sowmya Ramesh <sowmya_kr@apache.org>
Authored: Tue May 17 14:40:32 2016 -0700
Committer: Sowmya Ramesh <sramesh@hortonworks.com>
Committed: Tue May 17 14:40:32 2016 -0700

----------------------------------------------------------------------
 .../org/apache/falcon/security/DefaultAuthorizationProvider.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/4ccd3b11/common/src/main/java/org/apache/falcon/security/DefaultAuthorizationProvider.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/falcon/security/DefaultAuthorizationProvider.java
b/common/src/main/java/org/apache/falcon/security/DefaultAuthorizationProvider.java
index 887164e..5eb6a25 100644
--- a/common/src/main/java/org/apache/falcon/security/DefaultAuthorizationProvider.java
+++ b/common/src/main/java/org/apache/falcon/security/DefaultAuthorizationProvider.java
@@ -58,7 +58,7 @@ public class DefaultAuthorizationProvider implements AuthorizationProvider
{
     private static final Logger LOG = LoggerFactory.getLogger(DefaultAuthorizationProvider.class);
 
     private static final Set<String> RESOURCES = new HashSet<String>(
-            Arrays.asList(new String[]{"admin", "entities", "instance", "metadata", }));
+            Arrays.asList(new String[]{"admin", "entities", "instance", "metadata", "extension",
}));
 
     /**
      * Constant for the configuration property that indicates the prefix.


Mime
View raw message