Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: Rene on December 21, 2019, 06:12:56 PM
-
Hello I hope you understand my concern. I would like to give AOP users the right to edit the entry message of a room.
What have I already tried:
I entered the user using! AOP add user.
Then the user tried via / cs entrymsg #channel add hello guys and welcome - to set them but this is not possible.
I was told that you need the SET rights for this.
The following: under / cs levels #channel list - the set level is set to 9999, ie to founder status
So it can not be that I have to give an AOP user - founder rights to be able to edit this entry because I give him the level for SET so he can change other SET settings.
I just want the AOP to set the entrymsg.
Thanks for help
I come from Germany and used Google Translator to write here.
-
No Solution? thats bad
-
hello Rene!
i am on v2.0.6. you?
i have tested this entrymsg for you.
set the level for set to 5.
//cs levels # set set 5
reply from CS:
-ChanServ- Level for SET on channel # changed to 5.
adding the user to access list:
//cs access # add <nick> 5
reply from CS:
-ChanServ- <nick> added to # access list at level 5.
setting the entry msg with <nick>:
//cs entrymsg # add asd
reply from CS:
-ChanServ- Entry message added to #
listing:
//cs entrymsg # list
reply:
-ChanServ- Entry message list for #:
-ChanServ- Number Creator Created Message
-ChanServ- 1 <nick> Dec 30 16:43:06 2019 CET asd
-ChanServ- End of entry message list.
changing back to default (9999):
-ChanServ- Level for SET on channel # changed to 9999.
if i try to add an other msg now i get access denied.
so this function seems working fine.
above you can see the commands, please try it out yourself.
-
besides above, you could check out your chanserv.conf.
the whole thing is defined with these lines:
/* Command group configuration for ChanServ.
*
* Commands may optionally be placed into groups to make ChanServ's HELP output easier to understand.
* Remove the following groups to use the old behavior of simply listing all ChanServ commands from HELP.
*/
command_group
{
name = "chanserv/access"
description = _("Used to manage the list of privileged users")
}
command_group
{
name = "chanserv/status"
description = _("Used to modify the channel status of you or other users")
}
command_group
{
name = "chanserv/management"
description = _("Used to manage channels")
}
command_group
{
name = "chanserv/admin"
description = _("Services Operator commands")
}
set commands are limited for chanserv/management group:
command { service = "ChanServ"; name = "SET"; command = "chanserv/set"; group = "chanserv/management"; }
and here is the entrymsg command:
command { service = "ChanServ"; name = "ENTRYMSG"; command = "chanserv/entrymsg"; group = "chanserv/management"; }
you can tweek the conf, for example giving the entrymsg command to a lower level group or create an other group, but only if you know what you are doing. :)
-
Thanks @Lord255
Have you also tried according to your methods mentioned whether this user with these rights, ie the AOP level if you set the SET level to 5, whether he can also make other set settings? for me it was anyway. I've already got that far.
Sorry for the bad english :)
-
hello.
didn't try, because SET commands were set to level 5, which means other aop -s can use all of the SET commands as well.
so i know what you want, but it could be solved by a different group only, which means you have to tweek the config.
to be honest, i don't know why simple aop -s should change or add entry msg's, but i know.. lots of networks, lots of differences.
either you start tweeking the conf or just try to set the level for not aop -s, but for some higher rank and give out the SET commands for the ppl you trust.