sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "richard zhou" <richard.z...@intel.com>
Subject Re: Review Request 32427: SQOOP-2255: Throw Exception when no permission to the resource
Date Wed, 25 Mar 2015 07:17:23 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32427/
-----------------------------------------------------------

(Updated March 25, 2015, 7:17 a.m.)


Review request for Sqoop.


Repository: sqoop-sqoop2


Description
-------

When getting multi-connectors/links/jobs, AuthorizationEngine.filterResource is used to filter
resources according to the permissions.
When getting one specific connector/link/job via id, this resource should be checked permission,
and throw exception if no privilege.


Diffs (updated)
-----

  security/src/main/java/org/apache/sqoop/security/Authorization/AuthorizationEngine.java
d261027ff5aefa728c5f761534f4439264b4ae45 
  server/src/main/java/org/apache/sqoop/handler/ConnectorRequestHandler.java 2305a51472a0201771fe493e8364f7db62ee79a2

  server/src/main/java/org/apache/sqoop/handler/JobRequestHandler.java 0c5f1f216e9e6a42bd24c226dbca18cacd4f5c55

  server/src/main/java/org/apache/sqoop/handler/LinkRequestHandler.java 3187bcf00b51533cc33513a315dd9f1296e58c6d


Diff: https://reviews.apache.org/r/32427/diff/


Testing
-------

manual


Thanks,

richard zhou


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message