discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Cannot edit integration permissions despite having access to UI (Missing Access)

Open MinnDevelopment opened this issue 2 years ago • 1 comments

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

  1. Create a guild and invite an application
  2. 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)
  3. 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.

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)

MinnDevelopment avatar May 15 '22 20:05 MinnDevelopment

You also need manage roles to modify permissions for app commands

onerandomusername avatar May 15 '22 20:05 onerandomusername