nextcloud / nextcloud/files_accesscontrol

Feature custom message when blocked

Open
#229 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
60
Forks
22
Avg merge
2d 11h
Merged PRs (30d)
34

Description

Steps to reproduce
  1. Add rule like file zise rule
  2. send file
  3. get blocked by your rule
Expected behaviour

have a message that corresponds to the blocking rule

Actual behaviour

Just got access denied message or forbidden

This is not a user-understandable message

Best regards

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 the access-control flow described in the reproduction steps: create a file-size rule, send a file, and inspect where the blocked response becomes “access denied” or “forbidden.” Determine how a rule-specific message should be represented and verify that the resulting response explains the blocking rule.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.