View Issue Details

IDProjectCategoryView StatusLast Update
0005505unrealircdpublic2020-06-26 07:30
Reporterwestor Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version5.0.0 
Summary0005505: Operclass subrestrictions don't work (channel:override:mode:xyz)
DescriptionHello,

I was trying to modify the operclasses and i saw that from "channel:override:mode" the 'extban' and 'del' doesn't working correctly, i followed https://www.unrealircd.org/docs/Operclass_permissions that documentation about it.

Examples:

In the following test , it should allow only 'extban' for permissions but is giving whole 'mode;' as it shouldn't.

operclass global {
    permissions {
        kill;
        chat;
        client;
        immune;
        self;
        server { dns; info; remote; };
        server-ban { shun; zline; kline; gline; };
        channel {
            operonly;
            see;
            override {
                banpartmsg;
                flood;
                privsecret;
                secureonly;
                message;
                mode { extban; };
            };
        };
    };
};

Same for the following example it should only give permissions on 'extban;' and 'del;' but is giving whole 'mode;' permissions.

operclass global {
    permissions {
        kill;
        chat;
        client;
        immune;
        self;
        server { dns; info; remote; };
        server-ban { shun; zline; kline; gline; };
        channel {
            operonly;
            see;
            override {
                banpartmsg;
                flood;
                privsecret;
                secureonly;
                message;
                mode { extban; del; };
            };
        };
    };
};

- Thanks!
TagsNo tags attached.
3rd party modules

Activities

syzop

2020-01-02 13:22

administrator   ~0021188

Dropping as target for 5.0.1, sorry.

Issue History

Date Modified Username Field Change
2019-12-22 14:39 westor New Issue
2019-12-22 14:43 syzop Description Updated
2019-12-28 09:45 syzop Target Version => 5.0.1
2019-12-30 17:42 syzop Priority urgent => normal
2020-01-02 13:22 syzop Target Version 5.0.1 =>
2020-01-02 13:22 syzop Note Added: 0021188
2020-06-26 07:29 syzop Summary channel:override:mode doesn't working correctly on U5 => channel:override:mode:extban/:del doesn't working correctly on U5
2020-06-26 07:30 syzop Summary channel:override:mode:extban/:del doesn't working correctly on U5 => channel:override:mode subpermissions: restrictions don't work
2020-06-26 07:30 syzop Summary channel:override:mode subpermissions: restrictions don't work => Operclass subrestrictions don't work (channel:override:mode:xyz)