Skip to content

[Bug]: GroupPrincipalBackend ignores IHideFromCollaborationBackend #52958

@kesselb

Description

@kesselb

Bug description

The IHideFromCollaborationBackend interface is used by the guests app (but can be implemented by any group backend) to hide the guest group from auto-completion dialogs. When sharing a calendar or address book, a report request is sent to perform a principal-property-search. The group principal backend currently does not check if the backend implements IHideFromCollaborationBackend and where the hideGroup method may return true.

Steps to reproduce

  1. Have guests app
  2. shareapi_only_share_with_group_members = no
  3. Visit calendar app
  4. Open settings for a calendar and type "Guests"
  5. See the guests group suggested

Expected behavior

Guests group should be hidden

Nextcloud Server version

master

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    ☑️ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions