nextcloud / nextcloud/server

Generic share API to share files with apps

Open
#10,292 7 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2. developing enhancement feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

We are adding more and more share types to the server component for apps that need to share files depending on the apps data and ownership model.

Right now we have the following ones, that I think could also be moved to a common apps share:

  • SHARE_TYPE_GUEST
  • SHARE_TYPE_CIRCLE
  • SHARE_TYPE_ROOM

As it would also make sense for other apps like calendar, tasks or deck to access files and share them with users inside there, it would make sense to think about a common share type for apps.

Permission handling would need to be done by the app somehow. Should files that a user got access to by sharing though apps be visible in the file tree? If not, how can users access/download/edit it?

@nextcloud/sharing

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the existing guest, circle, and room share implementations and clarifying how app permissions, file-tree visibility, and access should work; done requires an agreed common share design and behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.