Этот баг очень похож на
There is some setting which allows moderators to manage categories.
If this is activated, moderators can change the security settings of a category such that they no longer have access, which is most likely accidental.
Administrators can, of course, recover this situation.
I suggest to remedy this behavior by forbidding moderators to change a categorry in such a way that they loose access.
Существует настройка, позволяющая модераторам управлять группами.
Если она активирована, модераторы могут изменить настройки безопасности группы так, что они сами потеряют к ней доступ, что, возможно, произойдёт случайно.
Администраторы, конечно, могут восстановить ситуацию.
Кроме того, есть ещё одна странная ситуация, касающаяся доступа к списку участников: модераторы могут переключать видимость списка участников для самих себя.
Но, возможно, это не такая уж большая проблема.
После слияния этого PR будет показано предупреждение (диалоговое окно подтверждения)
main ← ux-warn-mods-before-losing-access-to-group-settings
merged 01:43PM - 24 Dec 25 UTC
When moderators (with `moderators_manage_groups` enabled) change a group's visib… ility or members visibility to "Owners only" while not being an owner themselves, they would permanently lose access to manage that group. Similarly, removing themselves as owner when visibility is set to "Owners only" would lock them out.
This adds confirmation dialogs warning moderators before:
- Changing group visibility to "Owners only"
- Changing members visibility to "Owners only"
- Removing themselves as owner when visibility is restrictive
- Removing themselves as member when they're also an owner
Also refactors the category lockout code from PR #36663 to use async/await for consistency.
Ref: https://meta.discourse.org/t/391403
3 лайка
zogstrip
Закрыл(а) тему
25.Декабрь.2025 07:00:02
4
Эта тема была автоматически закрыта через 17 часов. Новые ответы больше не принимаются.