Skip to content

As an admin, I would like the ability to add a user group from the Groups page #12

@usrrname

Description

@usrrname

We are currently loading the existing user group but don't have the ability to add them.

This task requires

  • adding a modal that should appear when New group is clicked, and providing info about the user group in form fields

  • form validation of user group data

  • include a typeahead of users to add to user group

  • http request to a12n server

  • success and response states reflected after submission attempt

To create a group, POST to /group with this body:

{
  "type": "group",
  "nickname": "Name of new group
}

Ketting example:

const groupCollection = client.go('/group');
const newGroup = await groupCollection.postFollow({
  data: {
    type: 'group',
    nickname: 'My Group'
  })
});

// URI of new group
console.log(group.uri);

// Full group body
console.log(await group.get());

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions