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

Remove support for user.parent-uid = 0 #13169

Merged
merged 2 commits into from May 30, 2023

Conversation

MrPetovan
Copy link
Collaborator

uid = 0 is the system user which isn't supposed to be the parent-uid of all the non-delegate users

See https://friendica.opensocial.space/display/8ffdf77c-1664-70c0-e908-261313207977

@MrPetovan MrPetovan added this to the 2023.09 milestone May 27, 2023
@annando
Copy link
Collaborator

annando commented May 28, 2023

Currently the tests are failing for some reason. Can you have a look at it? Also: Have you tested it on your system?

@MrPetovan
Copy link
Collaborator Author

MrPetovan commented May 28, 2023

I'm already testing the group => circle branch, I can't test both at the same time.

Edit: Just saw you merged the PR, I'll move this branch to my node next.

@MrPetovan
Copy link
Collaborator Author

MrPetovan commented May 28, 2023

This branch has now ran successfully on my dev node, there's no parent-uid = 0 in the user table anymore, User::getAdminListForEmailing returns the expected data and delegation works.

database.sql Outdated
@@ -1,6 +1,6 @@
-- ------------------------------------------
-- Friendica 2023.09-dev (Giant Rhubarb)
-- DB_UPDATE_VERSION 1518
-- DB_UPDATE_VERSION 1519
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remember to increase the database version number.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Of course you could have also merged this PR before yours!

- uid = 0 is the system user which isn't supposed to be the parent-uid of all the non-delegate users
@MrPetovan
Copy link
Collaborator Author

PR updated

@annando annando merged commit 9d69045 into friendica:develop May 30, 2023
7 checks passed
@MrPetovan MrPetovan deleted the task/parent-uid-null branch May 30, 2023 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants