7.0 KiB
PyLink Permissions Reference
Below is a list of all the permissions defined by PyLink and its official plugins.
PyLink Core
core.clearqueue
- Grants access to theclearqueue
command.core.load
- Grants access to theload
command.core.rehash
- Grants access to therehash
command.core.reload
- Grants access to thereload
,load
, andunload
commands. (This implies access toload
andunload
becausereload
is really just those two commands combined.)core.shutdown
- Grants access to theshutdown
command.core.unload
- Grants access to theunload
command.
Automode
By default, Automode integrates with Relay by only allowing access lists to be created / manipulated on channels that are owned by a network via Relay.
automode.manage
ORautomode.manage.*
: ability to manage Automode (usesetacc
anddelacc
) on all channels on the network where the user is connected.automode.manage.relay_owned
: ability to manage Automode on channels owned by the current network in Relay. If Relay isn’t loaded or the channel in question isn’t shared via Relay, this permission check FAILS. With the default permissions set, this is granted to all opers.automode.manage.#channel
: ability to manage Automode on the specific given channel.automode.list
ORautomode.list.*
: ability to list Automode on all channels. With the default permissions set, this is granted to all opers.automode.list.relay_owned
: ability to list automode on channels owned via Relay. If Relay isn’t loaded or the channel in question isn’t shared via Relay, this permission check FAILS.automode.list.#channel
: ability to list Automode access entries on the specific given channel.automode.sync
ORautomode.sync.*
: ability to sync automode on all channels.automode.sync.relay_owned
: ability to sync automode on channels owned via Relay. If Relay isn’t loaded or the channel in question isn’t shared via Relay, this permission check FAILS. With the default permissions set, this is granted to all opers.automode.sync.#channel
: ability to sync automode on the specific given channel.automode.clear
ORautomode.clear.*
: ability to clear automode on all channels.automode.clear.relay_owned
: ability to clear automode on channels owned via Relay. If Relay isn’t loaded or the channel in question isn’t shared via Relay, this permission check FAILS.automode.clear.#channel
: ability to clear automode on the specific given channel.automode.savedb
: ability to save the automode DB.
Remote versions of the manage
, list
,
sync
, and clear
commands also exist for
cross-network manipulation
(e.g. automode.remotemanage.*
)
Bots
bots.join
- Grants access to thejoin
command.bots.joinclient
is a deprecated alias for this, retained for compatibility with PyLink < 2.0-rc1.bots.msg
- Grants access to themsg
command.bots.nick
- Grants access to thenick
command.bots.part
- Grants access to thepart
command.bots.quit
- Grants access to thequit
command.bots.spawnclient
- Grants access to thespawnclient
command.
Changehost
changehost.applyhosts
- Grants access to theapplyhosts
command.
Commands
commands.echo
- Grants access to theecho
command.commands.loglevel
- Grants access to theloglevel
command.commands.logout.force
- Allows forcing logouts on other users via thelogout
command.commands.showchan
- Grants access to theshowchan
command. With the default permissions set, this is granted to all users.commands.showuser
- Grants access to theshowuser
command. With the default permissions set, this is granted to all users.commands.status
- Grants access to thestatus
command. With the default permissions set, this is granted to all users.
Exec
exec.exec
- Grants access to theexec
command.exec.eval
- Grants access to theeval
command.exec.inject
- Grants access to theinject
command.exec.threadinfo
- Grants access to thethreadinfo
command.
Global
global.global
- Grants access to theglobal
command.
Networks
networks.autoconnect
- Grants access to theautoconnect
command.networks.disconnect
- Grants access to thedisconnect
command.networks.reloadproto
- Grants access to thereloadproto
command.networks.remote
- Grants access to theremote
command.
Opercmds
opercmds.checkban
- Grants access to thecheckban
command.opercmds.checkban.re
- Grants access to thecheckbanre
command if the caller also hasopercmds.checkban
.opercmds.chghost
- Grants access to thechghost
command.opercmds.chgident
- Grants access to thechgident
command.opercmds.chgname
- Grants access to thechgname
command.opercmds.jupe
- Grants access to thejupe
command.opercmds.kick
- Grants access to thekick
command.opercmds.kill
- Grants access to thekill
command.opercmds.massban
- Grants access to themassban
command.opercmds.massban.re
- Grants access to themassbanre
command if the caller also hasopercmds.massban
.opercmds.mode
- Grants access to themode
command.opercmds.topic
- Grants access to thetopic
command.
Raw
raw.raw
- Grants access to theraw
command.exec.raw
is equivalent to this and retained for compatibility with PyLink 1.x.raw.raw.unsupported_network
- Allows use of theraw
command on servers other than Clientbot.
Relay
These permissions are granted to all opers when the
relay::allow_free_oper_links
option is set (this is the
default):
relay.chandesc.remove
- Allows removing channel descriptions via thechandesc
command.relay.chandesc.set
- Allows setting / updating channel descriptions via thechandesc
command.relay.claim
- Grants access to theclaim
command.relay.create
- Grants access to thecreate
command.relay.delink
- Grants access to thedelink
command.relay.destroy
- Grants access to thedestroy
command.relay.link
- Grants access to thelink
command.
These permissions are always granted to all opers: -
relay.linkacl
- Allows managing LINKACL entries via the
linkacl
command. - relay.linkacl.view
- Allows
viewing LINKACL entries via the linkacl
command.
These permissions are not granted to anyone by default: -
relay.destroy.remote
- Allows destroying remote channels. -
relay.link.force_ts
- Grants access to the
link
command’s --force-ts
option (skip TS and
target network is connected checks). - relay.linked
-
Grants access to the link
command. With the default
permissions set, this is granted to all users. -
relay.purge
- Grants access to the purge
command. - relay.savedb
- Grants access to the
savedb
command.
Servermaps
servermaps.localmap
- Grants access to thelocalmap
command.servermaps.map
- Grants access to themap
command.
Stats
stats.c
,stats.o
,stats.u
- Grants access to remote/stats
calls with the corresponding letter.stats.uptime
- Grants access to thestats
command.