Closes #481.
6.3 KiB
PyLink Permissions Reference
Below is a list of all the permissions defined by PyLink and its official plugins. For instructions on how to fine-tune permissions, see example-permissions.yml.
PyLink Core
core.clearqueue
- Allows access to theclearqueue
command.core.shutdown
- Allows access to theshutdown
command.core.load
- Allows access to theload
command.core.unload
- Allows access to theunload
command.core.reload
- Allows access to thereload
,load
, andunload
commands. (This implies access toload
andunload
becausereload
is really just those two commands combined.)core.rehash
- Allows access to therehash
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.spawnclient
- Allows access to thespawnclient
command.bots.quit
- Allows access to thequit
command.bots.joinclient
- Allows access to thejoinclient
command.bots.nick
- Allows access to thenick
command.bots.part
- Allows access to thepart
command.bots.msg
- Allows access to themsg
command.
Changehost
changehost.applyhosts
- Allows access to theapplyhosts
command.
Commands
commands.status
- Allows access to thestatus
command. With the default permissions set, this is granted to all users.commands.showuser
- Allows access to theshowuser
command. With the default permissions set, this is granted to all users.commands.showchan
- Allows access to theshowchan
command. With the default permissions set, this is granted to all users.commands.echo
- Allows access to theecho
command.commands.logout.force
- Allows forcing logouts on other users via thelogout
command.commands.loglevel
- Allows access to theloglevel
command.
Exec
exec.exec
- Allows access to theexec
command.exec.eval
- Allows access to theeval
command.exec.raw
- Allows access to theraw
command.exec.inject
- Allows access to theinject
command.
Global
global.global
- Allows access to theglobal
command.
Networks
networks.disconnect
- Allows access to thedisconnect
command.networks.autoconnect
- Allows access to theautoconnect
command.networks.remote
- Allows access to theremote
command.networks.reloadproto
- Allows access to thereloadproto
command.
Opercmds
opercmds.checkban
- Allows access to thecheckban
command.opercmds.jupe
- Allows access to thejupe
command.opercmds.kick
- Allows access to thekick
command.opercmds.kill
- Allows access to thekill
command.opercmds.mode
- Allows access to themode
command.opercmds.topic
- Allows access to thetopic
command.opercmds.chghost
- Allows access to thechghost
command.opercmds.chgident
- Allows access to thechgident
command.opercmds.chgname
- Allows access to thechgname
command.
Relay
relay.claim
- Allows access to theclaim
command.relay.create
- Allows access to thecreate
command. With the default permissions set, this is granted to all opers.relay.delink
- Allows access to thedelink
command. With the default permissions set, this is granted to all opers.relay.destroy
- Allows access to thedestroy
command. With the default permissions set, this is granted to all opers.relay.destroy.remote
- Allows access to theremote
command.relay.linkacl
- Allows access to thelinkacl
command. With the default permissions set, this is granted to all opers.relay.linkacl.view
- Allows access to theview
command. With the default permissions set, this is granted to all opers.relay.link
- Allows access to thelink
command. With the default permissions set, this is granted to all opers.relay.link.force
- Allows access to the--force
option in thelink
command (skip TS and target network is connected checks).relay.linked
- Allows access to thelink
command. With the default permissions set, this is granted to all users.relay.purge
- Allows access to thepurge
command.relay.savedb
- Allows access to thesavedb
command.
Servermaps
servermaps.map
- Allows access to themap
andlocalmap
commands.
Stats
stats.uptime
- Allows access to thestats
command.