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

Can create antenna/list/clip more than role policy limits #14034

Closed
1 task
Astro-CQM opened this issue Jun 17, 2024 · 2 comments · Fixed by #14036
Closed
1 task

Can create antenna/list/clip more than role policy limits #14034

Astro-CQM opened this issue Jun 17, 2024 · 2 comments · Fixed by #14036
Labels
⚠️bug? This might be a bug

Comments

@Astro-CQM
Copy link

💡 Summary

Can create clips/lists/antennas more than role policy limits.

🥰 Expected Behavior

If antennaLimit value is 0, user can't create antenna at all.

🤬 Actual Behavior

user can create up to 1 antenna.

📝 Steps to Reproduce

  1. set antennaLimit policy to 0
  2. create antenna

💻 Frontend Environment

* Model and OS of the device(s): Windows 11 23H2 (22631.3737)
* Browser: Chrome 125.0.6422.176
* Server URL: oscar.surf (but not server related)
* Misskey: 2024.5.0-oscar.1a

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service: systemd
* Misskey: 2024.5.0-oscar.1a
* Node: 20.11.1
* PostgreSQL: 15.6-1.pgdg22.04+1
* Redis: 7.2.4
* OS and Architecture: Ubuntu 22.04.4 LTS aarch64

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@Astro-CQM Astro-CQM added the ⚠️bug? This might be a bug label Jun 17, 2024
@Astro-CQM
Copy link
Author

this is for context (Photo on k.lapy.link)

Role Policy

image

Antenna List

image

@zyoshoka
Copy link
Contributor

Related to #12279

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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants