-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
🐛 Permission overrides do not work properly if you have one role override #295
Comments
Massive thanks to @Aelweak for reporting this bug with great detail 🏆 |
Can confirm, an user reported not being able to use /title but able to use the button. |
That actually sounds like it could be a different problem @Madis0 as the |
Hey - we have this issue with the bot in our server. Users creating threads do not have Manage Threads permissions and are unable to rename the title of the thread. They cannot either:
Either actions results in "You do not have permission to perform this action". I would expect the bot to allow this for the thread author since Discord itself has the same behaviour (allowing thread authors to change titles of their own threads but not others' threads). |
@cdtinney Yes, Needle allows for this behaviour as long as you do not change the permission overrides, as that is the default behavior. If you add permission overrides it will stop working. Any reason you need to override permissions? |
Describe the bug
Basically, in this case Needle says "You do not have permission to perform this action" to thread authors (people that started the thread).
For some reason Needle assumes that it should not use default permissions in this case, or something. It doesn't realize that the user is unaffected by the overrides.
Steps to reproduce the bug
Expected behavior
An unrelated override should not affect the permission calculation for the user. They should be allowed to rename the thread.
The text was updated successfully, but these errors were encountered: