Skip to content

setParent() function does not lock permissions #4144

@MilSci

Description

@MilSci

Please describe the problem you are having in as much detail as possible:
When running a setParent() function with lockPermissions() being true, it fails to actually sync the permissions with the parent's permissions

Include a reproducible code sample here, if possible:

chan.setParent(config.server, { lockPermissions: true})
//chan is a fetched channel
//config.server is the ID to the category

Further details:

  • discord.js version: v12
  • Node.js version: v12
  • Operating system: Windows x86-64
  • Priority this issue should have – please be realistic and elaborate if possible:
    Can be a larger issue since most people might use this feature to create new channels
  • I have also tested the issue on latest master, commit hash:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions