nextcloud / nextcloud/server

Workflow engine does not allow for user hidden tags

Open
#47,636 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 31-feedback bug feature: tags feature: workflows
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

https://github.com/nextcloud/server/blob/d9ae08ba603c59d473de5be12ffaa6ea63667e9c/apps/workflowengine/lib/Check/FileSystemTags.php#L87

If an admin creates a tag that is not uservisible and shares that with a non-admin user, this part of the code throws an error.

Why shouldnt it be allowed to have tags that is not visible to the user on a file or folder?

Maybe we can just remove that check?

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 with apps/workflowengine/lib/Check/FileSystemTags.php at line 87 and trace the check that rejects non-user-visible tags. Reproduce the case where an admin shares a hidden tag with a non-admin user, then verify the workflow accepts the tag without throwing an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.