1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 14:13:12 +02:00
Files
unrealircd/include
Bram Matthys b9de933378 Similar to oper and operclass, this adds an rpc-class block.
This so you can restrict the JSON Methods that can be called, eg:

rpc-class limited {
    privileges {
        server { list; get; }
        channel { list; get; }
        user { list; get; }
    }
}

rpc-user xyz {
    match { ip 127.0.0.1; }
    password "test";
    rpc-class limited;
}

NOTE: This is work in progress
1) Things are NOT yet fully contained, as i need to lock down
   rpc.add_timer still :)
2) Some more work, eg rpc.info would be nice to show some
   information about the restriction (??)
3) Need to fix a memory leak
4) Possibly more
2024-07-05 10:21:45 +02:00
..
2024-06-14 10:00:37 +02:00
2000-02-28 22:45:44 +00:00
2004-05-13 16:39:23 +00:00
2023-12-16 16:33:15 +01:00