Skip to content

Conversation

abdellahrk
Copy link
Contributor

Add id '1' to the first existing admin or if not available to the current user being created.

Add id '1' to the first existing admin or if not available to the current user.
@bobdenotter
Copy link
Member

Hmm, I'm not sure this is a good fix.. This will effectively "rename" a user to have id 1. If that specific user already has content, it'll be linked to their id, which would cause that content to be 'orphaned', right?

@abdellahrk
Copy link
Contributor Author

@bobdenotter yes right. Then let us just make the currently created user have the id 1?

@bobdenotter
Copy link
Member

@bobdenotter yes right. Then let us just make the currently created user have the id 1?

Yes, you mean whenever we create a user, to ensure there's one with id 1?

@abdellahrk
Copy link
Contributor Author

Yes, you mean whenever we create a user, to ensure there's one with id 1?

Yes @bobdenotter. Or is there a better solution than this?

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.

2 participants