Skip to content

"invitations" leak all usernames #881

Closed

Description

@meaz

What is going wrong?

As an user, I can find all usernames in my instance by using the "Invitations" feature.

To Reproduce

  1. As an admin, "Allow username autocompletion in share dialog. If this is disabled the full username or email address needs to be entered" is disabled
  2. Create a poll as user
  3. Go to Details, then Shares
  4. Start typing something in the box under " Invited users will get informed immediately via eMail!"

Expected behavior
As an user, I should not be able to see all usernames existing on the instance.
I should be able to add an user for an invitation only if I know his/her username fully, not my guessing it by writing some letters only.

Information about your polls installation

1.30
Fresh installation
Appstore

Information about your Instance of Nextcloud/ownCloud

Nextcloud 18

Activity

  1. dartcafe commented on Apr 4, 2020

    @dartcafe
    Collaborator

    Interesting, I thought, this is handled by the core, when suing the user API. We will have to check this.

  2. oafgip commented on Jun 9, 2020

    @oafgip

    Hello,
    Aren't invitations supposed to be limited to groups?
    When user of a group tries to share a poll, the list of other groups is proposed. Is there any trick to restrict to the group of the user?
    Regards.

  3. dartcafe commented on Jun 12, 2020

    @dartcafe
    Collaborator

    Aren't invitations supposed to be limited to groups?

    No. There is no limitation.

  4. added a commit that references this issue on Dec 21, 2020
    4526faa
  5. dartcafe commented on Dec 21, 2020

    @dartcafe
    Collaborator

    #1307 uses another search which respects the autocomplete limitations of the share settings (users and groups).

  6. added this to the 1.7 milestone on Dec 21, 2020
  7. added a commit that references this issue on Dec 28, 2020
    e84ca86
  8. github-actions commented on Jun 6, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  9. locked as resolved and limited conversation to collaborators on Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions