nextcloud / nextcloud/richdocuments

Restrict editing to specific file-types

Open
#147 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: settings
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Hi
There is already the functionality to restrict editing to a specific group of users. What would be nice also is, if there were the possibility to restrict editing not only to groups but also to specific file-types.

Example:
I would like to allow editing only for files "odt, ods, odp, ....". Files like "xlsx, docx, ..." should only be opended in read-only mode. Otherwise clean Office-Files might be corrupted by Collabory Office (LibreOffice)

Does this make sense?

Best regards
René

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 the existing restriction of editing to specific user groups in richdocuments, then inspect how file types and read-only mode are handled for Collabora Office. Done means users can edit the requested office formats while files such as xlsx and docx open read-only without corruption.

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
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.