richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

Restricting to Groups no longer works

Open danimo opened this issue 2 years ago • 2 comments

Describe the bug

After ugprading to NC 26 with version 8.0.2, the restriction to certain groups as outlined in the screenshot below no longer has any effect. The Office app will open for everyone.

To Reproduce

  1. Go to 'Administration Settings'
  2. Click on 'Office'
  3. Click "Restrict Usage to specific group"
  4. Pick a group
  5. Log in as a member of group not chosen in in Step 4.
  6. Click on an office document
  7. See Document opening in richdocuments app instead of receiving a download dialog

Expected behavior Nextcloud should behave as though the richdocuments app was not installed to members of all groups but the one in the allow list.

Screenshots

image

Client details:

  • OS: [iOS, Linux]
  • Browser [Chromium]
  • Version [e.g. 26.0.2]

Server details

Operating system: Containerized

Web server: nginx Database: Postgres

PHP version: 8.1

Nextcloud version: 26.0.2

Version of the richdocuments app 8.0.2

Version of Collabora Online 22.05.14.3.1

danimo avatar Jun 15 '23 13:06 danimo

I could independently verify the behavior on the setup of an external service provider (Hetzner), so it doesn't seem to be an issue of my setup.

danimo avatar Jun 15 '23 13:06 danimo

Hi @danimo - So far I'm unable to reproduce this behavior. The closest I can get is that if I restrict access (in a different browser session) then re-attempt access without reloading - it'll try to open CODE, but fails (blank screen). If I reload first in the restricted session then it properly downloads as expected.

Can you provide the output of ./occ config:list richdocuments?

joshtrichards avatar Jul 13 '23 14:07 joshtrichards

Closing due to lack of follow-up info, no further reports, and also inability to reproduce.

joshtrichards avatar Mar 25 '24 16:03 joshtrichards