You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhay Kulkarni (JIRA)" <ji...@apache.org> on 2017/03/15 00:38:41 UTC

[jira] [Comment Edited] (RANGER-1321) Provide a mechanism to create service-specific default policies

    [ https://issues.apache.org/jira/browse/RANGER-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923483#comment-15923483 ] 

Abhay Kulkarni edited comment on RANGER-1321 at 3/15/17 12:38 AM:
------------------------------------------------------------------

Patch (available at the review board : https://reviews.apache.org/r/57303/)

Commit details:

master:

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

Branch: refs/heads/master
Commit: 85ddb48e2c7a795969e908ebce377ab4666aecce
Parents: 0ad9539

ranger-0.7:

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

Branch: refs/heads/ranger-0.7
Commit: c9e94357028234db1b1ff9be57ecf13ae29f5d87



was (Author: abhayk):
Patch (available at the review board : https://reviews.apache.org/r/57303/)

Commit details:

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

Branch: refs/heads/master
Commit: 85ddb48e2c7a795969e908ebce377ab4666aecce
Parents: 0ad9539


> Provide a mechanism to create service-specific default policies
> ---------------------------------------------------------------
>
>                 Key: RANGER-1321
>                 URL: https://issues.apache.org/jira/browse/RANGER-1321
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 0.6.0, 0.7.0
>            Reporter: Ramesh Mani
>            Assignee: Abhay Kulkarni
>             Fix For: 1.0.0, 0.7.1
>
>
> When a service is created, Ranger Admin creates a default policy in the new service which grants all access to the user specified in service-config. This works for most services. However, it is possible that some service implementation might want to create default policy with different accesses. It will be useful to provide a mechanism to enable service-specific default policy creation – similar to service-specific resource-lookup implementations which is available today via RangerBaseService interface. Something like:
>  
> public abstract class RangerBaseService {
>   // ...
>  
>   public List<RangerPolicy> getDefaultPolicies();
> }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)