[
https://issues.apache.org/jira/browse/SQOOP-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14567048#comment-14567048
]
Dian Fu commented on SQOOP-2378:
--------------------------------
Hi [~richard_zhou],
Have uploaded a quick patch, could you help to review? Thanks a lot.
> SQOOP2: Revoke all privilege
> ----------------------------
>
> Key: SQOOP-2378
> URL: https://issues.apache.org/jira/browse/SQOOP-2378
> Project: Sqoop
> Issue Type: Sub-task
> Components: sqoop2-client
> Reporter: Richard
> Assignee: Dian Fu
> Fix For: 2.0.0
>
> Attachments: SQOOP-2378.1.patch
>
>
> Design doc:
> https://cwiki.apache.org/confluence/display/SQOOP/High+Level+Design+of+Role+Based+Access+Controller
> {code}
> revoke privilege --resource-type ... --resource ... --action ...
> --principal-type ... --principal ... [--with-grant]
> {code}
> Revoke all privileges from the user if no resource is defined in the command.
> It is already supported in Restful API, CLI changes are needed only.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)