Comments (9)
Can confirm. This seems like a bug. If you deny to an individual person, it overrides groups, but if you grant read to any group, no other group deny overrides it, regardless of order.
from discord-api-docs.
It's always been this way though - user-specific overrides are more important than role-specific ones and allows are more important than denies.
from discord-api-docs.
Except if a higher role that a user has is denied viewing, shouldn't it be the same as if no role has viewing privs?
from discord-api-docs.
I can't replicate this.
from discord-api-docs.
@jhgg Give a group that isn't everyone deny, then give a different group allow, and add someone to both groups. Regardless of the order of Deny group and the Allow group, the allow trumps the deny. But meew0 is saying this was known, so I guess it's not a bug, but a limitation.
from discord-api-docs.
@jhgg something like:
User roles and channels before adding the "hide" role
Feel free to join the server and i can show you: https://discord.gg/54u5paA
from discord-api-docs.
To lay it out more:
- Add a channel
- Restrict everyone from seeing it
- Add a role "member" that is allowed to see/send messages
- Add a role "hide-channel" that is not allowed any permissions in that channel, and is above "member"
- Add both of these roles to a user
- The user will still be able to see the channel, and see mentions
from discord-api-docs.
Hierarchy has never had an effect on permission overwrites.
from discord-api-docs.
Why? Is revoking the position for a role not the same as users without the permission?
from discord-api-docs.
Related Issues (20)
- [Dev Portal] uploaded application emojis are stretched unnecessarily to fit a 1:1 ratio HOT 1
- Link embeds replace the entire message when the message with the link is edited before the link embeds
- Oauth2 is completely broken HOT 7
- An invalid response to an interaction results in an awkward render
- 500: Internal Server Error HOT 4
- Executing UPSCALE_SUBTLE and UPSCALE_CREATIVE requests returns 400 BAD_REQUEST, {"message": "Invalid form body", "code": 50035, "errors": {"data": {"_errors": [{"code": "COMPONENT_VALIDATION_FAILED", "message": "Component validation failed"}]}}}. HOT 2
- Moving a member to the same voice channel creates duplicates and sometimes causes audit log failures
- Twitch gif emotes are still set up incorrectly HOT 7
- Slash mentions don't fill in command anymore HOT 1
- [Dev Portal] Users with read-only permissions cannot copy app emoji markdown
- Denying `Stream` permission doesn't end screen sharing and webcam streams HOT 1
- OAuth2 Redirects can be saved without entering a URL HOT 3
- IPv6 is still missing HOT 1
- Article embeds not getting parsed if the pathname matches "/invite/*"
- Default installation/interaction contexts do not match documentation
- MemberFlags values not documented
- Linked role name_localizations and description_localizations are not working, again... HOT 2
- [Dev Portal] Typo in emojis tab HOT 1
- Inconsistent presence of server mute and deafen fields in member payloads
- New released application emojis sometimes (like about 1/25 requests) in components, polls are not parse able by the application HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-api-docs.