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

Group admin should have optional access to files of all group members #6866

Closed
rt-outofservice opened this issue Oct 18, 2017 · 3 comments
Closed

Comments

@rt-outofservice
Copy link

Hi,

We faced a quite specific use-case and would like to know about any possible solutions.

There is a considerable amount of user groups with 10-20 users in each. Every group member has access only to its personnel files. Also, each group has 1-2 admins, and these admins should have access to all the files of all group members.
I assume that it's possible to solve this problem with share feature but in this case, we need a way to create such shares in a bulk mode (API?).

Are there any other ways to achieve that?

Thanks.

@Slevin7
Copy link

Slevin7 commented Oct 19, 2017

Isn't it easier if the admin create all Folder and share with the people in the group?
So he have access to all the data.

@nickvergessen
Copy link
Member

Isn't it easier if the admin create all Folder and share with the people in the group?

That is exactly what I would suggest.
You can even create the folders and shares via APIs.

For folders it's WebDAV and for the shares a simple curl command against our API should do:
https://docs.nextcloud.com/server/12/developer_manual/core/ocs-share-api.html#create-a-new-share

But giving group admins full access to all members by default is not an option.

@rt-outofservice
Copy link
Author

Thanks, this looks good. I will try that option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants