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

Moderators cannot access the list of assignee in Role page, even if the role is assignable by moderators #13301

Closed
1 task
ltlapy opened this issue Feb 15, 2024 · 2 comments
Labels
⚠️bug? This might be a bug

Comments

@ltlapy
Copy link
Contributor

ltlapy commented Feb 15, 2024

💡 Summary

「モデレーターのメンバー編集を許可」がオンであるロールでも、モデレーターは(コントロールパネルのロールページから)アサインされたユーザー一覧を閲覧できない

モデレーターによる一括管理ができず、Adminを介しなければならない

🥰 Expected Behavior

「モデレーターのメンバー編集を許可」がオンであれば、モデレーターにもロールページからアサインされたユーザー一覧が閲覧できるようになる

🤬 Actual Behavior

Adminロールを付与しない限りモデレーターは閲覧できない

📝 Steps to Reproduce

  1. (isAdminフラグがfalseで、Adminロールにアサインされていない)あるユーザーにモデレーターロールを付与する
  2. 「モデレーターのメンバー編集を許可」がオンにされているロールを作成する
  3. ①で付与したユーザーから、コントロールパネルから②のロールページにアクセスする

💻 Frontend Environment

* Model and OS of the device(s): Debian GNU/Linux 11.8 (bullseye) with Linux 5.10.0-27-amd64
* Browser: 120.0.6099.199 (Official Build) built on Debian 11.8, running on Debian 11.8 (64-bit) 
* Server URL: https://hoto.moe
* Misskey: 2023.12.2

🛰 Backend Environment (for server admin)

Unknown

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@ltlapy ltlapy added the ⚠️bug? This might be a bug label Feb 15, 2024
@ltlapy ltlapy changed the title Moderators does not have accesss the list of assignee in Role page, even the role is assignable by moderators Moderators does cannot access the list of assignee in Role page, even the role is assignable by moderators Feb 15, 2024
@ltlapy ltlapy changed the title Moderators does cannot access the list of assignee in Role page, even the role is assignable by moderators Moderators cannot access the list of assignee in Role page, even the role is assignable by moderators Feb 15, 2024
@ltlapy ltlapy changed the title Moderators cannot access the list of assignee in Role page, even the role is assignable by moderators Moderators cannot access the list of assignee in Role page, even if the role is assignable by moderators Feb 15, 2024
@Hoto-Cocoa
Copy link
Contributor

As server administrator of hoto.moe instance, I will left some backend information to here.

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service: Docker
* Misskey: 2023.12.2
* Node: 20.10.0
* PostgreSQL: 15.3
* Redis: 7.0.11
* OS and Architecture: Ubuntu 20.04.2, amd64 (Docker host)

@ltlapy
Copy link
Contributor Author

ltlapy commented Feb 16, 2024

Fixed by 2b41b1f. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug
Projects
Status: Done
Development

No branches or pull requests

2 participants