PhasecoreX / PCXCogs

PhasecoreX's Cogs for Red-DiscordBot
GNU General Public License v3.0
58 stars 46 forks source link

[Autoroom] Feature Request: Permissions Management for created autorooms #142

Closed cj2tech closed 9 months ago

cj2tech commented 9 months ago

have the ability for the rooms permissions inherit source category or voice channel. or have the ability set a permissions template,

PhasecoreX commented 9 months ago

Created AutoRooms already copy their permissions from the AutoRoom Source, save for a few exceptions, namely the view and manage roles permissions. Check out [p]autoroomset modify defaults for more information.

cj2tech commented 9 months ago

Yeah that's my issue. I have my discord setup in a way where @everyone is very limited until verified.

PhasecoreX commented 9 months ago

If a user isn't allowed to see or join the AutoRoom Source, they won't be able to join any AutoRooms it creates, regardless of if it's public/private/etc. So just set up the AutoRoom Source so that only your members (who have the member role of your server) can see it, and everything else should be handled automatically.

cj2tech commented 9 months ago

Currently the way I have it configure that is not working for me.

Below is a view of the permissions of the source VC: image

and then this is the room it creates: image

I wonder if it matters the fact that I'm using server type.

Edit: I've also tried it as public and it still sets @everyone view channel to true

PhasecoreX commented 9 months ago

Can you do [p]]help AutoRoom and tell me the cog version, and then do [p]autoroomset settings and tell me the settings for your AutoRoom Source? Also if I can see your permissions on the AutoRoom Source for the Bots and Members roles as well.

cj2tech commented 9 months ago

Cog Version: 3.7.2

--- Server Settings ---
Admin access all AutoRooms:     [True]
Moderator access all AutoRooms: [True]

--- AutoRoom - Public Lobby ---
Room type:            [Public]
Destination category: [#💬Voice Channels💬]
Room name format:     [Custom: "Public Room {{dupenum}}"]

idk what would be the best way to show you the other things other then the pics above

PhasecoreX commented 9 months ago

I would expect a "Member Roles" section in those settings if they were detected. Can you verify that the everyone role doesn't have connect permissions in the AutoRoom Source channel, and that your member role does explicitly have the connect permission in the AutoRoom Source?

cj2tech commented 9 months ago

I just check it did have can connect on for my everyone. It look like turning that to false fixed it... or possibly the fact I did a hard reboot of the docker server cuz I was getting some random errors on some other apps I was running on the same server along with. Thanks much for help with resolving this.