session-pysogs
session-pysogs copied to clipboard
Global hidden admin status not recognised in new open group.
After creating a new group in PySOGS, Session Desktop does not recognise my global hidden admin status and I cannot, for example, add an avatar to the group.
If, however, I rerun the command to add myself as a global hidden admin, the status is then recognised in the new group. This should be a superfluous action, however, because administration.md
states:
Global moderators/administrators are considered to be moderators of every room on the server for both existing rooms and any new future rooms
It seems that the "future" part is failing, which suggests that a privilege-granting trigger that should fire when a new group is created is failing to run.
To Reproduce
- Assign oneself global hidden admin status on a SOGS instance.
- Create a new group on the instance with no explicit admins.
- Try to perform any action requiring admin privileges in Session Desktop. None is available.
- PySOGS 0.3.5
- Session Version: 1.10.4
See also this Session Desktop issue, which can be closed if the bug lies entirely on the PySOGS side.
It seems that the "future" part is failing, which suggests that a privilege-granting trigger that should fire when a new group is created is failing to run.
That's not how it works: admin status is part of the user row, so there's no trigger or update that needs to happen here.
I believe I can reproduce this on desktop. I expect there is some message to the clients that informs them about their permissions that is not being sent but I don’t know the protocol well enough to know.