When I try to edit the permission of an integration in the Discord API server, I get a save button which is non-functional. I belive the API does a wrong permission check.
Steps to Reproduce
Create a guild and invite an application
Join with an alt account and set your permissions to Manage Server and Mange Roles (access to integration tab), but not Use Application Commands (shouldn't be required)
Try setting permissions and save
Expected Behavior
The permissions should correctly be saved. (I think the UI is correct to only require manage server perms)
Current Behavior
The API returns a missing access error and the save button does nothing.
Description
When I try to edit the permission of an integration in the Discord API server, I get a save button which is non-functional. I belive the API does a wrong permission check.
Steps to Reproduce
Expected Behavior
The permissions should correctly be saved. (I think the UI is correct to only require manage server perms)
Current Behavior
The API returns a missing access error and the save button does nothing.
Screenshots/Videos
https://user-images.githubusercontent.com/18090140/168491506-79e78ee7-9ded-4dce-9214-762facd9df83.mp4
Client and System Information
Canary 128333 (b818ae7) Host 1.0.46 Windows 10 64-Bit (10.0.19043)