-
Notifications
You must be signed in to change notification settings - Fork 199
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
Track Level Permissions #948
Comments
I propose that such policies can be implemented and applied by way of jbh- hook model (which can be npm-installed), as defined by JBServer's extensible hook framework. This enables a flexible policy model that can be interchangeable with other models or extensible by additional hooks (plugins). |
It would be so great to retrieve the GGB behavior
and of course |
The "restrict = require user/group" syntax can be replicated in JBrowse
today with an .htaccess file in your dataset root directory, or equivalent
non-apache user management.
Richard D. Hayes, Ph.D.
Joint Genome Institute / Lawrence Berkeley National Lab
http://phytozome.jgi.doe.gov
…On Tue, Jun 5, 2018 at 12:18 AM, Fred ***@***.***> wrote:
It would be so great to retrieve the GGB behavior
<http://gmod.org/wiki/GBrowse_Configuration/Authentication#Restricting_Access_to_Datasources_with_GBrowse_Account_Database>
[5_prime_RACE]
glyph = generic
feature = RACE:5_prime
restrict = require user fred joseph andrea marta
and of course restrict = require group also
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#948 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAc92Cluw4_yoJm9Q4CRMuGQKbGIFjdqks5t5jDhgaJpZM4RJEFW>
.
|
@rdhayes thank you for your help. |
@FredericBGA You can potentially use the system of "includes" and include private tracks in a different privateTracks.json and then add "include": ["privateTracks.json"] http://gmod.org/wiki/JBrowse_Configuration_Guide#General_configuration_options Then only the authorized user would have successful inclusion of those private track configs. |
Adding track-level permissions to JBrowse tracks in Apollo and JBrowse directly.
Item 8 in GMOD Hackathon http://gmod.org/wiki/2018_PAG_Hackathon
Ref: GMOD/Apollo#17
This feature that is generally already capable to some extent by JBServer which:
However, what is there is a cursory implementation (a proof of concept) that lacks robustness.
What is needed is a discussion of the extent of the implementation and how it should be perceived from the client perspective.
I imagine there might need to describe the following:
a) policies for user groups with access to track groups.
b) client-side handling of inaccessible assets; plus an asset manager interface
c) client-side response.
d) JBServer uses passportjs, which can be adapted to various auth frameworks.
I invite you to describe your use cases.
The text was updated successfully, but these errors were encountered: