Skip to content

Add "Leave Organization" button - #2394

Merged
Didayolo merged 2 commits into
developfrom
leave-organization-button
Oct 2, 2026
Merged

Didayolo merged 2 commits into
developfrom
leave-organization-button

Conversation

@Didayolo

@Didayolo Didayolo commented May 28, 2026 •

Copy link
Copy Markdown
Member

Description

Add a "Leave organization" button so users can leave organization independently:

Capture d’écran 2026-05-28 à 15 32 41

Fix "Go back to organization page" button and change the layout:

Capture d’écran 2026-05-28 à 15 32 29

Issues this PR resolves

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@Didayolo Didayolo changed the title Add leave organization button Add "Leave Organization" button May 28, 2026
</button>
{% endif %}

{% if is_editor %}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think only is_owner should be able to delete an organization not is_editor. On the backend only owner is allowed to delete.

@ihsaan-ullah

Copy link
Copy Markdown
Collaborator
  • I tested this PR. Everything works fine.
  • I added a comment about an if condition which I think needs to be updated
  • I made some updates to show correct protocol and domain in the django logs for organization invite.

In some places we are using site.domain which is not what we want. We should replace it with settings.DOMAIN_NAME which points to the correct domain name. This is a change for another PR but should be noted in a separate issue.

Didayolo and others added 2 commits October 2, 2026 10:46
… updated invite email html and txt templates to show correct protocol and domain name. Removed a line from invite.txt which was not needed.
@Didayolo
Didayolo force-pushed the leave-organization-button branch from fbab922 to 8398d2f Compare October 2, 2026 08:46
@Didayolo
Didayolo merged commit e0f255c into develop Oct 2, 2026
2 checks passed
@Didayolo
Didayolo deleted the leave-organization-button branch October 2, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Participant cannot leave organization independently

2 participants