Skip to content

[FEATURE REQUEST] Add a member to a space: Search user and show the list of matches #4613

@jesmrec

Description

@jesmrec

AC:

  • A + option to add new members, only available for users with "Space manager" role. The associated permission is libre.graph/driveItem/permissions/create
  • The "+" option will open a new view/dialog to perform the invitation.

iOS view:

Image Image

Shows the basic info of the space (icon, name, quota...), an info message (Enter the user or group...)
and a textbox in which the user will type the username.

As the user types the name the results are shown, refreshing after every character if the string is at least 3 characters long.

A Cancel button also available across the process.


Base request:

To search users/groups:

https://...:9200/graph/v1.0/users?$search="John"&$orderby=displayName
https://...:9200/graph/v1.0/groups?$search="John"&$orderby=displayName

it returns a list of results like:

{
    "value": [
        {
            "accountEnabled": true,
            "displayName": "John Smith",
            "id": "cbe0ff51-e1ef-4c7b-b74e-827bc3bcd7fa",
            "mail": "john@smith.com",
            "onPremisesSamAccountName": "jsmith",
            "surname": "jsmith",
            "userType": "Member"
        },
        ...
}

TASKS

  • Research (if needed)
  • Create branch feature/feature_name
  • Development tasks
    • Implement whatever
    • ...
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/feature_name into master

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions