nextcloud / nextcloud/server

Option to permit some users/groups to be excluded from some sharing policies (e.g. public link expiration & mandatory passwords)

Open
#47,133 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently, when publishing files, the parameters from the settings are applied, such as mandatory password or link expiration date, and unfortunately, these settings are applied to all users and even the administrator.

Is there any way to improve or find a workaround so that a certain group or list of employees can create links bypassing the restrictions that are set in the settings?

For example, now our publication settings are such that it is mandatory to specify a password and link expiration date, but there is a pool of employees who should not be affected by these restrictions and they could create links without a password and without an expiration date. If not, is it possible to make improvements so that such an opportunity appears?

I would like to make more flexible settings for users.

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

The issue names no files, tests, or entry points. Start by tracing where sharing policies enforce mandatory passwords and link expiration, then inspect how user and group permissions are represented. Done means selected users or groups can bypass the specified restrictions while other users remain subject to them, with coverage for both cases.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.