Require username - #456
Open
annehaley wants to merge 4 commits into
Open
Conversation
Deploying geodatalytics with
|
| Latest commit: |
5fc7927
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c29b207d.geodatalytics.pages.dev |
| Branch Preview URL: | https://require-usernames.geodatalytics.pages.dev |
annehaley
force-pushed
the
require-usernames
branch
from
August 18, 2026 17:42
0bc0560 to
fea896c
Compare
BryonLewis
reviewed
Aug 19, 2026
BryonLewis
left a comment
Collaborator
There was a problem hiding this comment.
I have some comments/questions about this PR. Mostly notes that may be require a subsequent PR.
- Just a reminder that we either need to create some sort of migration or manually make sure that all existing users that have username based on the email have it swapped to something that isn't their email, or remove all existing users.
- When doing a
GET /projectsthere is information about the owner including the username and is_superuser, should we prevent that information from being sent during this request? This information leaks through for non-authenticated users. This may be a bigger lift because I think you would have a response with the owner/collaborator/follower information removed for unauthenticated users because they never open the access control. - I question if the serializer should be returning is_superuser for most of the requests that contain users like project owners and user lists? Is it being used in the client anywhere? I think it's only used on the /users/me request. So access control doesn't need to leak who is a super user.
- UserFactory/SuperUserFactory in the tests still use username = email which isn't true anymore after this. Technically it doesn't matter but it would probably be a better representation if username was used.
| <span v-if="initials" style="text-transform: uppercase"> | ||
| {{ initials }} | ||
| <v-tooltip activator="parent" location="end"> | ||
| {{ nameLabel }} |
Collaborator
There was a problem hiding this comment.
The #446 issue mentions showing the username as a subtitle and tooltip, this right here is showing the full first/last name as the tooltip.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #446