Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: New Privileg for AOP users  (Read 4299 times)

0 Members and 1 Guest are viewing this topic.

Rene

  • Anope User
  • Offline Offline
  • Posts: 7
New Privileg for AOP users
« 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.
Logged

Rene

  • Anope User
  • Offline Offline
  • Posts: 7
Re: New Privileg for AOP users
« Reply #1 on: December 21, 2019, 09:50:38 PM »

No Solution? thats bad
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 136
Re: New Privileg for AOP users
« Reply #2 on: December 30, 2019, 03:51:19 PM »

hello Rene!

i am on v2.0.6. you?
i have tested this entrymsg for you.

set the level for set to 5.
Code: [Select]
//cs levels # set set 5reply from CS:
Code: [Select]
-ChanServ- Level for SET on channel # changed to 5.
adding the user to access list:
Code: [Select]
//cs access # add <nick> 5reply from CS:
Code: [Select]
-ChanServ- <nick> added to # access list at level 5.
setting the entry msg with <nick>:
Code: [Select]
//cs entrymsg # add asdreply from CS:
Code: [Select]
-ChanServ- Entry message added to #
listing:
Code: [Select]
//cs entrymsg # listreply:
Code: [Select]
-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):
Code: [Select]
-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.

Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 136
Re: New Privileg for AOP users
« Reply #3 on: December 30, 2019, 04:07:27 PM »

besides above, you could check out your chanserv.conf.
the whole thing is defined with these lines:

Code: [Select]
/* 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:
Code: [Select]
command { service = "ChanServ"; name = "SET"; command = "chanserv/set"; group = "chanserv/management"; }
and here is the entrymsg command:
Code: [Select]
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. :)
Logged

Rene

  • Anope User
  • Offline Offline
  • Posts: 7
Re: New Privileg for AOP users
« Reply #4 on: December 31, 2019, 10:41:09 AM »

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 :)
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 136
Re: New Privileg for AOP users
« Reply #5 on: December 31, 2019, 11:01:41 AM »

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.
Logged
Pages: [1]   Go Up