nextcloud / nextcloud/guests

Change default permission value from 31 to 1

Open
#455 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
61
Forks
34
Avg merge
3d 19h
Merged PRs (30d)
22

Description

Hello,
I would like to define the default permission setting once a guest user is created to "only read" permission.
This value should be set on "1" instead "31" on permissions when a guest user is created.
"31" value permission permits, delete, edit, reshare, etc.

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

Start at the guest-user creation path and locate where the _permissions_ value is assigned. Change the default from 31 to 1, then verify that a newly created guest user has read-only access and cannot edit, delete, or reshare files.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authorization
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.