View Issue Details

IDProjectCategoryView StatusLast Update
0006590unrealircdpublic2025-11-07 00:36
Reporterwestid Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version6.2.1 
Summary0006590: security group rules priority
Descriptionwhen you're in more than one security group with maxchannelsperuser, it only gives you the minimum number of channels in that group

so if you're in known-users registered-users and high-reputation

known-users requires a little reputation - 10 channels
high-reputation requires a lot of reputation - 15 channels
registered-users are authenticated with services - 20 channels

how do you select which group's rules takes precedence? if you have earned/been given more max channels, and qualify for three groups it picks the lowest - but all three of these groups are true for a registered user
TagsNo tags attached.
3rd party modules

Activities

Valware

2025-11-07 00:36

reporter   ~0023536

Hey there. Thanks for your bug report.

I know my solution perhaps sounds a bit overly complicated, but I would advise to take a look at making some security-groups which make use of [code]security-group { }[/code] and [code]exclude-security-group { }[/code] to fine-tune things. You can use this to make categories based on what security-groups a user is and is not in and apply maxchannelsperuser to those parent security-groups.

[code]
security-group max-chans-ten {
  security-group {
    known-users;
  }
  exclude-security-group {
    high-reputation;
  }
  // And so on
}
[/code]

Hope this helps!
https://www.unrealircd.org/docs/Security-group_block#Syntax

Issue History

Date Modified Username Field Change
2025-11-06 23:01 westid New Issue
2025-11-07 00:36 Valware Note Added: 0023536