phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-672) Add GRANT and REVOKE commands using HBase AccessController
Date Wed, 22 Nov 2017 07:12:00 GMT

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

ASF GitHub Bot commented on PHOENIX-672:
----------------------------------------

Github user ankitsinghal commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/283#discussion_r152483233
  
    --- Diff: phoenix-core/src/it/java/org/apache/phoenix/end2end/TableDDLPermissionsIT.java
---
    @@ -210,25 +98,20 @@ public Void run() throws Exception {
                         return null;
                     }
                 });
    -            verifyAllowed(createSchema(schemaName), regularUser);
    +            verifyAllowed(createSchema(schemaName), regularUser1);
                 // Unprivileged user cannot drop a schema
    -            verifyDenied(dropSchema(schemaName), unprivilegedUser);
    -            verifyDenied(createSchema(schemaName), unprivilegedUser);
    +            verifyDenied(dropSchema(schemaName), AccessDeniedException.class, unprivilegedUser);
    +            verifyDenied(createSchema(schemaName), AccessDeniedException.class, unprivilegedUser);
     
    -            verifyAllowed(dropSchema(schemaName), regularUser);
    +            verifyAllowed(dropSchema(schemaName), regularUser1);
             } finally {
                 revokeAll();
             }
         }
     
         @Test
    -    public void testAutomaticGrantDisabled() throws Throwable{
    -        testIndexAndView(false);
    -    }
    --- End diff --
    
    Why is this removed?


> Add GRANT and REVOKE commands using HBase AccessController
> ----------------------------------------------------------
>
>                 Key: PHOENIX-672
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-672
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: James Taylor
>            Assignee: Karan Mehta
>              Labels: namespaces, security
>             Fix For: 4.14.0
>
>         Attachments: PHOENIX-672.001.patch
>
>
> In HBase 0.98, cell-level security will be available. Take a look at [this](https://communities.intel.com/community/datastack/blog/2013/10/29/hbase-cell-security)
excellent blog post by @apurtell. Once Phoenix works on 0.96, we should add support for security
to our SQL grammar.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message