You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/28 21:58:58 UTC

[jira] [Commented] (RYA-119) Add visibility support to MongoDB

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

ASF GitHub Bot commented on RYA-119:
------------------------------------

GitHub user ejwhite922 opened a pull request:

    https://github.com/apache/incubator-rya/pull/124

    RYA-119 Added MongoDB Column Visibility (called Document Visibility).

    ## Description
    This adds a new field to each document called documentVisibility which
    uses a boolean expression to determine if the user can access the document.
    The boolean expression is in Disjunctive Normal Formal so that the expression's grouping is simplified enough that MongoDB can run Set operations on it to determine if
    the document is viewable.  The expression is stored as an array in MongoDB.
    
    The classes in the package "org.apache.rya.mongodb.document.visibility" are pretty much a copy of the classes that are used by "org.apache.accumulo.core.security.ColumnVisibility" so we don't need to have an Accumulo dependency in a MongoDB component.  If anyone is against that then let me know.
    
    ### Tests
    Unit Tests
    
    ### Links
    [Jira](https://issues.apache.org/jira/browse/RYA-119)
    
    ### Checklist
    - [x] Code Review
    - [ ] Squash Commits
    
    #### People To Review
    @pujav65 
    @amihalik 
    @isper3at 
    @DLotts

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ejwhite922/incubator-rya RYA-119_MongoDBColumnVisibility

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rya/pull/124.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #124
    
----
commit 2c14d78a82562ea556fdd7e652185605feeb5544
Author: ejwhite922 <er...@sparta.com>
Date:   2016-11-02T13:51:32Z

    RYA-119 Added MongoDB Column Visibility (called Document Visibility).
    This adds a new field to each document called documentVisibility which
    uses a boolean expression to determine if the user can access the document.
    The boolean expression is in Disjunctive Normal Formal so that it can be
    stored as an array that MongoDB can run Set operations on to determine if
    the document is viewable.

----


> Add visibility support to MongoDB
> ---------------------------------
>
>                 Key: RYA-119
>                 URL: https://issues.apache.org/jira/browse/RYA-119
>             Project: Rya
>          Issue Type: Improvement
>          Components: dao
>    Affects Versions: 3.2.10
>            Reporter: Andrew Smith
>            Assignee: Eric White
>
> Currently, when querying mongo, visibility is ignored.  Need to add support for visibility when querying mongo.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)