Skip to content

Error shown when file upload receives 403 references "access control" + never includes any additional explanation text sent on by server(s) #48164

Description

@grnd-alt

⚠️ This issue respects the following points: ⚠️

Bug description

When uploading a file and the proxy has a file-filter rule in place to block the upload by sending a 403. Netflix UI says: Operation is blocked by access control indicating that it's the files_accesscontrol app who blocks

Error is caused by this line: https://github.com/nextcloud/server/blob/master/apps/files/src/views/FilesList.vue#L604
the server sends response content as well but it's only checked for the 403 code.

I know it's a very niche issue so LMK if that needs fixing.

Steps to reproduce

  1. block file uploads with proxy rule
  2. upload file
  3. see error Operation blocked by access control

Expected behavior

more clear error message

Nextcloud Server version

master

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Enhancement.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions