GitHub user khalidhuseynov opened a pull request:

    https://github.com/apache/zeppelin/pull/998

    Update api/pass auth info to repo

    ### What is this PR for?
    This PR is to make available information on the currently authenticated 
user(subject) in the Notebook storage level. It can be used for multiple 
purposes (ACL, login to third parties, etc.) once storage layer is user aware.
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    * [x] - add authInfo(subject) to list()
    * [x] - add authInfo(subject) to get()
    * [x] - add authInfo(subject) to save()
    * [x] - add authInfo(subject) to remove()
    * [ ] - address comments
    
    ### What is the Jira issue?
    
    
    ### How should this be tested?
    storage layer should be working as before with and without authenticated 
user, green CI
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No


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

    $ git pull https://github.com/khalidhuseynov/incubator-zeppelin 
update-api/pass-auth-info-to-repo

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

    https://github.com/apache/zeppelin/pull/998.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 #998
    
----
commit b5af52ac98c256182bafc3c43ebb968ed807d0c8
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-10T16:45:39Z

    change api for repo list

commit 4a83d037b3d0a5ed83647372e851a012defff2a7
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-10T16:48:15Z

    modify all repo signatureswith list(subject)

commit 813e7f66f4ae458ca0781df755535b381a470de1
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-10T16:49:48Z

    propagate changes to list up

commit 8d03fd5c19ae0c7765d2b357e4fc0ce7491fb47c
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-10T16:52:23Z

    propagate list(subject) to tests
    
    list(null) basically means that the callee of list isn't from outside, but 
some zeppelin routine code e.g. tests, or initialization mechanism, can be 
further improved

commit 2d323481ce814ca5d8e9ec708531c49b825b159f
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-10T19:12:56Z

    add subject to repo api for get

commit d851b6c1b2f2829c920a6962a07d37c98141c958
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-10T19:17:04Z

    modify all repo signatures with get(noteId, subject)

commit 1d4b63d31ee58cd90f16d235109a36942d2c2a57
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-10T19:18:00Z

    propagate changes up to Notebook

commit 4191fbbe7fbefb1b29d780fe2da948d2a2b465b0
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-10T19:18:20Z

    propagate changes to tests

commit 7f2c7e0d5468e7ce2e66bdaf9ccb02b0f8017021
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T01:14:33Z

    add subject to repo save api

commit 056628a1f83d5efd6057921a736a66aeb3b02d1a
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T01:16:11Z

    add subject to all repo signatures

commit 427afc0358639df9347310099b073d31a7ead9fb
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T01:17:39Z

    propagate subject changes upstream

commit 3cee605bba5d680bb16c4558d0e7595c35cdaae3
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T01:18:10Z

    propagate changes to save into tests

commit 52ac59d5be3f23be8d6cc0d73269891ffe98a0ca
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T02:06:06Z

    add subject to repo remove api

commit a2c837aa35b5d48e5789109e61158f11615c0999
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T02:07:18Z

    propagate remove(noteId, subject) to all repo signatures

commit c7b72cd7cc9c5921c73ec67b22540db341ff4d37
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T02:09:16Z

    propagate changes with remove upstream

commit 1eb5b53ca5e416f9d0f0d271e39f5e361d7c11c1
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T02:09:42Z

    propagate changes to tests

commit 108b894b4424bd55df70869f0bf914ccac182d87
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T02:31:08Z

    add subject to NotebookRepo api

commit c322d7d1e251fe9e3bcb31eb4b60e79d6c8033df
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T02:32:32Z

    add subject to checkpoint signature of all repos

commit 1df509663a3b4f40181e7aca9c2411cc60fa9a84
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T02:34:13Z

    propagate changes upstream

commit b0d165e392619db1ed4d88bdc99ea5ad518b7839
Author: Khalid Huseynov <khalid...@nflabs.com>
Date:   2016-06-11T02:34:41Z

    propagate changes to tests

----


---
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