Number of Admin >1 shows no Mention on the server directory #95

Open
opened 2023-06-07 22:59:46 +02:00 by Raroun · 5 comments

If you have one Admin in Friendica, the directory shows the Admin in a blue field with a star.
If you have more than one admin, no admin mention is displayed.

Expected bevaior:
Show all Admins with a blue star.

If you have one Admin in Friendica, the directory shows the Admin in a blue field with a star. If you have more than one admin, no admin mention is displayed. Expected bevaior: Show all Admins with a blue star.
MrPetovan self-assigned this 2023-06-08 12:58:22 +02:00
MrPetovan added the
bug
label 2023-06-08 13:00:02 +02:00
Owner

Looking into this based on the Friendica Support thread, I can see that the output of the /friendica/json module that we rely on to figure out the server admin doesn't mention any admin at all: https://fedica.ch/friendica/json

So the issue may be in Friendica Core after all. I believe it has to do with the parent-uid = 0 issue described in this other Friendica Support thread and fixed in this Friendica Core pull request.

Looking into this based on [the Friendica Support thread](https://friendica.opensocial.space/display/8ffdf77c-7964-80e2-5e00-58e706891818), I can see that the output of the `/friendica/json` module that we rely on to figure out the server admin doesn't mention any admin at all: https://fedica.ch/friendica/json So the issue may be in Friendica Core after all. I believe it has to do with the `parent-uid = 0` issue described in [this other Friendica Support thread](https://friendica.opensocial.space/display/8ffdf77c-1664-70c0-e908-261313207977) and fixed in [this Friendica Core pull request](https://github.com/friendica/friendica/pull/13169).
Author

I just wanted to let you know, that the directory is only showing one admin since at least 2 Years. Propably that helps :)

I just wanted to let you know, that the directory is only showing one admin since at least 2 Years. Propably that helps :)
Author

I had a look.
In my https://friendica.opensocial.space/friendica/json only one admin shows up, no matter how much admin i declare in the local.config.php.
It seems the json output, or the code that generates it only supports one admin.

I had a look. In my `https://friendica.opensocial.space/friendica/json` only one admin shows up, no matter how much admin i declare in the `local.config.php`. It seems the json output, or the code that generates it only supports one admin.
Owner

Yes, this is correct. /friendica/json only shows one admin (with User:getFirstAdmin), and the directory only shows one admin.

It can be changed, but it's a feature request rather than a bug.

Yes, this is correct. /friendica/json only shows one admin (with User:getFirstAdmin), and the directory only shows one admin. It can be changed, but it's a feature request rather than a bug.
Author

You could remove the "bug"-tag and replace it with a "feature-request"-tag :D

You could remove the "bug"-tag and replace it with a "feature-request"-tag :D
MrPetovan added
enhancement
and removed
bug
labels 2023-06-09 21:06:02 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: friendica/friendica-directory#95
No description provided.