GitHub user ejwhite922 opened a pull request:

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

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

    ## Description
    Re-creating PR that was closed before.
    
    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
    - [x] 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/162.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 #162
    
----
commit 0744bc71038212dbc8a1b3ef99224e0ccc46d483
Author: ejwhite922 <eric.wh...@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 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.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to