nextcloud / nextcloud/tables

Allow restricting the "Manage view" permission

Open
#2,807 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Is your feature request related to a problem? Please describe.

Hi,

Currently, granting a user or group the "Manage view" permission for a single view also allows them to perform actions that affect the entire table and other views. For example, they can create or delete columns and rows and delete the view itself, even if the user or group does not have these permissions on the table or is a table manager.

It would be useful to separate view-specific editing from table-level management. A user should be able to modify an existing view (description, visible columns, filters, and sorting) without gaining additional permissions that affect the underlying table.

Best regards,

Mike

Describe the solution you'd like

One possible solution would be to restrict the scope of the "Manage view" permission so that it only applies to view settings. More like an "Edit view" permission without granting broader table management capabilities.

Describe alternatives you've considered

No response

Additional context

No response

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 by tracing how the "Manage view" permission is currently applied to view settings and table-wide actions. Define the permission boundary so users can edit descriptions, visible columns, filters, and sorting without creating or deleting rows, columns, or views. Done means the restricted permission no longer grants those table-level capabilities.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.