GithubHelp home page GithubHelp logo

Comments (9)

khazhyk avatar khazhyk commented on September 25, 2024

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.

meew0 avatar meew0 commented on September 25, 2024

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.

TobiTenno avatar TobiTenno commented on September 25, 2024

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.

jhgg avatar jhgg commented on September 25, 2024

I can't replicate this.

image
image
image

On wew's client:
image

from discord-api-docs.

khazhyk avatar khazhyk commented on September 25, 2024

@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.

TobiTenno avatar TobiTenno commented on September 25, 2024

@jhgg something like:

Channel setup
image
image
image

User roles and channels before adding the "hide" role
image
image

After adding role
image
image

image

Feel free to join the server and i can show you: https://discord.gg/54u5paA

from discord-api-docs.

TobiTenno avatar TobiTenno commented on September 25, 2024

To lay it out more:

  1. Add a channel
  2. Restrict everyone from seeing it
  3. Add a role "member" that is allowed to see/send messages
  4. Add a role "hide-channel" that is not allowed any permissions in that channel, and is above "member"
  5. Add both of these roles to a user
  6. The user will still be able to see the channel, and see mentions

from discord-api-docs.

vishnevskiy avatar vishnevskiy commented on September 25, 2024

Hierarchy has never had an effect on permission overwrites.

from discord-api-docs.

TobiTenno avatar TobiTenno commented on September 25, 2024

Why? Is revoking the position for a role not the same as users without the permission?

from discord-api-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.