richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

Block file access + is not a member of a specific group doesn't seem to work

Open JoeMrCoffee opened this issue 1 month ago • 2 comments

Describe the bug essentially I have the block access set to block a tagged file as "Admin" to any one not in the "admin" group. But my admin user is also blocked, so seems like a bug

To Reproduce Steps to reproduce the behavior:

  1. Install the block file access Flow App
  2. create a joint rule - file tag + group member is not a member of a group
  3. Create a new file and tag it appropriately
  4. As a user of an approved group (i.e. the 'is not member of said group) try to access the file.

Expected behavior The user of the appropriate group should be able to access the file.

Screenshots https://cloud.nextcloud.com/s/NTTrk56iKfPqeYN

Client details: OS - Ubuntu 24.04 Docker install Nextcloud 32.01 Collabora

Server details

Operating system: Container - Debian Web server: Apache Database: MariaDB PHP version: 8.3.27 Nextcloud version:

  • 32.01

Version of the richdocuments app 9.0.2

Version of Collabora Online version": "25.04.6.2

Configuration of the richdocuments app No SSL - just http

Insert the output of ./occ config:list richdocuments (or equivalent adapted for your runtime environment)

www-data@ef1ca8dc1bd1:~/html$ php occ config:list richdocuments
{
    "apps": {
        "richdocuments": {
            "disable_certificate_verification": "yes",
            "doc_format": "ooxml",
            "enabled": "yes",
            "installed_version": "9.0.2",
            "public_wopi_url": "http:\/\/192.168.122.198:9980",
            "types": "filesystem,prevent_group_restriction",
            "wopi_url": "http:\/\/192.168.122.198:9980"
        }
    }
}



<details>
<summary>Logs</summary>

#### Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here


#### Browser log

Insert your browser log here, this could for example include:

a) The javascript console log b) The network log c) ...


</details>

JoeMrCoffee avatar Dec 09 '25 14:12 JoeMrCoffee

Does the same thing happen with non-Office documents?

joshtrichards avatar Dec 13 '25 23:12 joshtrichards

No. Testing with a Markdown text file it seems to work.

I added a screen recording in the public link above to show in more detail what I am seeing.

Thanks!

JoeMrCoffee avatar Dec 14 '25 10:12 JoeMrCoffee