earmuff-jam / mashed

Mashed - A community care application for local communities.
1 stars 0 forks source link

Add ability to update sharable groups for selected items with a modal type behavior #135

Closed mohit2530 closed 4 months ago

mohit2530 commented 4 months ago

General Description

Audience members who are using the selected event would need to allow certain person to act as an admin on their behalf.

Acceptance Criteria

  1. Build a autocomplete form which can select users from the profile database. this selected user can be granted admin rights.
  2. Build the component inside the editing an event feature.
  3. Use sharable groups to track this. it might be beneficial to create a sql function and just re-use that function in the backend to see if anyone belongs to the sharable group.
  4. Restrict deactivating an event to the members of the sharable groups only. events have attendees which is different.
earmuff-jam commented 4 months ago

Utilize the existing leave event button for this. Group this button to display a secondary action of Share Event which will in turn open this modal which will allow for users to share the event to the people from the profile section.

earmuff-jam commented 4 months ago

First we need a storybook component for this to even view how it is going to look like.