-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: transfer ownership of event to another user #3013
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2c16d88 to
d69cc3f
Compare
|
@shreyanshdwivedi Just a suggestion , |
|
@uds5501 @kushthedude I might need some help here. Actually the |
@shreyanshdwivedi Incorrect File Name is all the cause buddy 😆 |
8a72239 to
e34aaa9
Compare
|
@kushthedude thanks for pointing out my silly mistake 🤣 |
e34aaa9 to
2a5af28
Compare
|
@uds5501 the frontend PR is almost completed now. It only needs the endpoint now. I'm sending the event to be transferred and the email of the new organizer as payload. Please take a look and make the endpoint based on it. And please reference the server PR here |
|
@shreyanshdwivedi understood, will link the PR over here and carry on the server implementation accordingly |
6fef444 to
223c18a
Compare
|
@shreyanshdwivedi please change the payload to : data: {
attributes: {
'new-organizer': data.newOrganizerEmail,
'starts-at' : event.startsAt,
'ends-at' : event.endsAt,
'timezone' : event.timezone
},
id: event.originalId,
type: 'event',
identifier: event.id
}This passes the schema validation checks and I can work on the |
cb7eea0 to
e7af880
Compare
|
@uds5501 I've updated the PR. Also I've changed |
|
@shreyanshdwivedi Please also update the text about the account deletion: Your account currently cannot be deleted as active events and/or orders are associated with it. Before you can delete your account you must transfer the ownership of your event(s) to another organizer or cancel your event(s). If you have ticket orders stored in the system, please cancel your orders first too. |
e5351f7 to
38ff824
Compare
|
@uds5501 @CosmicCoder96 This PR is completed now. I've implemented a role-invite for transferring event and opened a server PR for handling role invite for |
38ff824 to
969f028
Compare
969f028 to
9f2b82c
Compare
app/templates/components/modals/confirm-event-transfer-modal.hbs
Outdated
Show resolved
Hide resolved
app/templates/components/modals/confirm-event-transfer-modal.hbs
Outdated
Show resolved
Hide resolved
|
@CosmicCoder96 I've made the required change. Please review |
c6ddc18 to
7df006b
Compare
7df006b to
b145eae
Compare
|
@CosmicCoder96 updated the async-await logic. Please review |
b145eae to
f21f167
Compare
|
@CosmicCoder96 @niranjan94 please review |
e8cb2f0 to
97e3a7e
Compare
|
@niranjan94 I've made the changes. Please review |
fixes travis failure Introduces async-await
97e3a7e to
c5401f3
Compare
|
@niranjan94 added |
|
@shreyanshdwivedi this PR contains |
|
Let's not merge it for now. It depends on PR fossasia/open-event-server#6042 |


Fixes #3012
Short description of what this resolves:
We are implementing feature to provide ability to a user to delete his/her account. If the user is associated with any event, he/she must be given choice to transfer the events to other organizers associated with the event.
Changes proposed in this pull request:
Checklist
developmentbranch.