You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Platform information: Any Sourcegraph deployment when syncing with Perforce code hosts
Steps to reproduce:
Configure a Perforce code host, with "authorization": {} configured to sync and enforce user permissions
Configure a user in Perforce and Sourcegraph, with the same email address, but different capitalization (ex. Firstname.Lastname@domain.tld vs firstname.lastname@domain.tld)
Notice that this Sourcegraph user won't be matched with their permissions in Perforce, so they won't see code from the Perforce code host
Change the capitalization of their email address on either Sourcegraph or Perforce to match the other
Notice that this Sourcegraph user will now be matched with their permissions in Perforce, so they will now see code from the Perforce code host
Note that many large enterprises have long histories of changing email address conventions (i.e. their email addresses are a hot mess, and longstanding staff have many email addresses on their LDAP accounts), and Perforce customers can't use a centralized identity provider to batch update the email address on Perforce user accounts.
Expected behavior:
Email addresses are not case sensitive anywhere else, so they shouldn't be in Sourcegraph
Email addresses from both the Perforce users table and the Sourcegraph user should be normalized to lowercase before permissions recording / searching
Actual behavior:
Capitalization breaks Perforce permissions
If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no SLAs on issues like there are for support requests).
Steps to reproduce:
"authorization": {}configured to sync and enforce user permissionsFirstname.Lastname@domain.tldvsfirstname.lastname@domain.tld)Expected behavior:
Actual behavior:
If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no SLAs on issues like there are for support requests).
/cc @mrnugget