Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] Add some security access control yaml tests for Rollup #33035

Merged
merged 1 commit into from
Aug 23, 2018

Commits on Aug 21, 2018

  1. [TEST] Add some ACL yaml tests for Rollup

    These two tests compliment the existing unit tests which check Rollup's
    ACL/security integration.
    
    The first test creates to indices, puts a document in each one, and then
    assigns a role to the test user that can only access one of the indices.
    A rollup job is created with a pattern that would match both indices,
    and we verify that only the allowed document was rolled up (e.g. verifying
    that the unpermissioned index stays hidden).
    
    The second test creates a single index with two documents tagged by
    the keyword "public"/"private".  An attribute-based role is created
    that only allows viewing "public" documents.  We then verify the rollup
    job only rolled the "public" doc, and not the "private" one.
    polyfractal committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    1ced969 View commit details
    Browse the repository at this point in the history