Enforce Push Author Stash Hook

What special case does checking the "Allow alternate email (<username>@)" check box allow for?

The obvious assumption is that it allows an alternate email but wouldn't that directly oppose the default check "Require matching email address (required)" which cannot be turned off?

Thanks,
Seth 

2 answers

1 vote

Seth,

The logic appears to be a bit more subtle. When the 'Allow alternate email' check box is checked, the hook will allow two email addresses:

  • The one that is configured in the user directory (could be the LDAP directory)
  • The one that matches username@domain.configured.in.user.directory

For instance say that your username is scarter and your email address according to LDAP is seth.carter@company.com

Without the checkbox checked, only commits authored by seth.carter@company.com would be allowed.

With the checkbox checked, both seth.carter@company.com and scarter@company.com would be allowed.

 

Thanks Michael, while it isn't what I wanted it to be it does explain what it actually does!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

30,289 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you