Open SteveViss opened 6 years ago
I like it. Two comments.
Does it also applies below dataset? If anyone can access all interactions, it's easy to reconstruct the private datasets, and so it doesn't make sense.
One way to "share" dataset would be for users to create groups and have a list of ORCIDs allowed to view the resources within each group, but that's a whole new thing. Maybe medium-term.
@tpoisot:
datasets
, networks
, taxons
, interactions
, traits
, environments
are not available by default if it's a private dataset (boolean field public
on datasets
table). taxa_backbone
, attributes
are shareable among users. (Don't forget, taxons
table contains the original taxa name from the dataset and taxa_back
is the taxonomy backbone table, mapping taxa against EOL, BISON, GBIF etc...)
Yes, to do it, I'll have to create a join table between users and datasets (n:n relationship). Many users can have access to many datasets. We can have this functionnality on the 2.2 or later release.
Edit: Not prioritaries features - change for v3
Prioritaries features:
New features:
On peut faire sans put/post -- pour le moment on va faire du read only.
users
endpoint can only be accessible byadmin
, access denied for all other user. If the user want to see is profile, the user can use the route/profile
@tpoisot, we have to think about the permissions, procedures (access request). ex. Can a user ask/request access to a private dataset directly to his owner?