Skip to content
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

Add organization email to organization profile instead of adding to organization user #2712

Merged

Conversation

FrankApiyo
Copy link
Member

@FrankApiyo FrankApiyo commented Sep 26, 2024

Changes / Features implemented

Add organization email to organization profile instead of adding to organization user

Steps taken to verify this change does what is intended

Updated test cases

Side effects of implementing this change

N/A

Before submitting this PR for review, please make sure you have:

  • Included tests
  • Updated documentation

Closes #2714

@FrankApiyo FrankApiyo force-pushed the use-email-provided-when-creating-organization-to-set-metadata branch from b0caa18 to a8c0a66 Compare October 1, 2024 08:15
@FrankApiyo FrankApiyo changed the title Use email provided when creating an organization to set metadata Add organization email to organization profile instead of adding to organization user Oct 1, 2024
ukanga
ukanga previously approved these changes Oct 1, 2024
@FrankApiyo FrankApiyo force-pushed the use-email-provided-when-creating-organization-to-set-metadata branch 2 times, most recently from 9459ed1 to 1dfcd5d Compare October 2, 2024 06:22
@@ -186,7 +187,7 @@ def save(self, *args, **kwargs): # pylint: disable=arguments-differ
@property
def email(self):
"organization email"
return self.user.email
return self.organization_email
Copy link
Contributor

Choose a reason for hiding this comment

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

@FrankApiyo Would it have been easier to have the field email instead and get rid of the email property?

@FrankApiyo FrankApiyo merged commit 28a63bf into main Oct 3, 2024
9 of 10 checks passed
@FrankApiyo FrankApiyo deleted the use-email-provided-when-creating-organization-to-set-metadata branch October 3, 2024 07:50
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.

Add organization email to organization profile instead of adding to organization user
3 participants