Get Current User Guild Member should return permissions #6846
Replies: 3 comments
-
+1 We're running into the same issue and want to avoid asking for access to all of a user's guilds -- even if it's just high-level information. |
Beta Was this translation helpful? Give feedback.
-
+1 I am also wondering about this question. My application is a very UI-based app that would allow users to read/write information that affects their managed guilds. In order to do this, I need to frequently check whether the user has admin privileges on the specific guild. It seems strange to have to use the I would appreciate some clarity on this and agree that it would be beneficial to have the |
Beta Was this translation helpful? Give feedback.
-
+1 Yes absolutely that would be very useful. |
Beta Was this translation helpful? Give feedback.
-
As of right now, using the
guilds.members.read
scope, the guild member object does not return a permissions field. I think this would be useful, as I personally would be quite wary as a user of the workaround using theguilds
scope. Grantingguilds
to applications I don't completely trust can be used for substantial tracking and profiling, and I don't like the thought of even being able to do that. Requiring the application to already know the guild ID could allow for some more principle of least privilege compliant solutions for e.g. bot dashboards which check user permissions based on guild membership.Endpoint:
GET /users/@me/guilds/{guild.id}/member
Field:
permissions
Beta Was this translation helpful? Give feedback.
All reactions