Skip to content

Add "Leave Organization" button - #2394

Open
Didayolo wants to merge 2 commits into
developfrom
leave-organization-button
Open

Add "Leave Organization" button#2394
Didayolo wants to merge 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.

… updated invite email html and txt templates to show correct protocol and domain name. Removed a line from invite.txt which was not needed.
@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.

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