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

Use default sharing permissions from server #4

Closed
3 tasks done
tobiasKaminsky opened this issue Oct 28, 2021 · 1 comment
Closed
3 tasks done

Use default sharing permissions from server #4

tobiasKaminsky opened this issue Oct 28, 2021 · 1 comment
Assignees

Comments

@tobiasKaminsky
Copy link
Member

tobiasKaminsky commented Oct 28, 2021

An Admin can set default sharing permissions in "index.php/settings/admin/sharing".

image

This can be retrieved via capabilities:
files_sharing -> default_permissions: int

The values are here:
https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-share-api.html#create-a-new-share

1 = read
2 = update
4 = create
8 = delete
16 = share
31 = all

This then should be the default when creating a new share

@tobiasKaminsky tobiasKaminsky moved this to 📄 To do (~10 entries) in 🤖 🍏 Mobile clients team Aug 17, 2022
@tobiasKaminsky tobiasKaminsky moved this from 📄 To do (~10 entries) to 🧭 Planning evaluation (dont pick) in 🤖 🍏 Mobile clients team Aug 18, 2022
@tobiasKaminsky tobiasKaminsky moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (max 2 entries / member) in 🤖 🍏 Mobile clients team Feb 7, 2025
@alperozturk96 alperozturk96 self-assigned this Mar 17, 2025
@alperozturk96 alperozturk96 moved this from 📄 To do (max 2 entries / member) to 🏗️ In progress in 🤖 🍏 Mobile clients team Mar 17, 2025
@alperozturk96
Copy link

Android Client PR: Feature - Use default sharing permissions #14695

Android Library PR: nextcloud/android-library#1688

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

No branches or pull requests

2 participants