nextcloud / nextcloud/server

Explicit permissions for file access

Open
#64,118 0 comments 0 reactions 1 assignee View on GitHub

@susnux is already working on this.

Since Sep 8, 2026.

1. to develop
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

As an example the IRootFolder has the method getByIdInPath,
this tries to infer the user from the path and fallsback to the current user or otherwise the owner of the file to estimate the view onto the file.

Ideally our APIs would be explicit:

  • Do not infer user from session
  • Explicitly pass the user as a parameter
    • if you want to use the session the explicitly fetch the user from session as pass it

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.