Skip to content

IntraVox Users can open editor but saving fails with HTTP 400 when using Team Folders #70

Description

@todesberg

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Environment
Nextcloud: 34.x
IntraVox: 1.6.1
Team folders: 22.0.1
Setup
IntraVox content is stored in a Nextcloud Team Folder.
The Team Folder is not additionally shared via the Files app.
No Advanced Permissions (ACLs) are configured.
The Team Folder is assigned to the following groups:
IntraVox Users
IntraVox Admins
Only IntraVox Admins have write permissions on the Team Folder.
IntraVox Users have read-only access.
Expected behavior
Users that belong only to the IntraVox Users group should:
be able to browse the documentation,
see the navigation,
not be able to edit pages,
not see the Edit button.
Actual behavior
Users that belong only to IntraVox Users:
can browse all pages,
can see the navigation,
can open the page editor,
but saving any page fails with HTTP 400,
creating a new page also fails with HTTP 400.
Administrators can edit and save pages without problems.
Server log
When saving a page as an IntraVox User, Nextcloud logs:
[updatePage] InvalidArgumentException:
Failed to write updated page data
At the same time Nextcloud reports:
Undefined array key ...
lib/private/Share20/ShareHelper.php
followed by
foreach() argument must be of type array|object, null given
Additional observations
During troubleshooting we observed some inconsistent behavior:
Initially normal users could not see the navigation.
After adjusting Team Folder permissions, the navigation appeared.
At one point even administrators temporarily lost the ability to edit the home page (home.json).
After some time this resolved itself without further changes.
The only remaining issue is that IntraVox Users can open the editor although they should not be allowed to edit, and every save request fails with HTTP 400.
Questions
Is this expected behavior?
Should the editor be hidden for users that only belong to IntraVox Users?
Could this be related to Team Folders on Nextcloud

Server configuration

Web server: Nginx

Database: Maria

PHP version: 8.5

Nextcloud version: 34.0

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Browser

Browser name: Firefox /Edge

Operating system: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions