3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-28 21:52:38 +01:00

relay: grant CHANDESC permissions to opers if allow_free_oper_links is true

This commit is contained in:
James Lu 2018-07-11 21:40:30 -07:00
parent d8c1511b28
commit f9611ef6bc
2 changed files with 5 additions and 5 deletions

View File

@ -681,10 +681,10 @@ relay:
# This block defines various options for the Relay plugin. You don't need this
# if you aren't using it.
# Determines whether all opers should be able to create, link, delink, destroy,
# and adjust claim settings on relay channels. You can disable this if you want
# to configure link permissions in a more fine grained way, e.g. by granting each
# network admin their own PyLink account.
# Determines whether all opers should be able to create, link, delink, destroy, and adjust
# claim settings & channel descriptions on relay channels. You can disable this if you want to
# configure Relay permissions in a more fine grained way, e.g. by granting each network admin
# their own PyLink account.
# This defaults to True if not set, for consistency with older (< 2.0) PyLink versions.
# Changing this setting requires a rehash and reload of the Relay plugin to apply.
allow_free_oper_links: true

View File

@ -29,7 +29,7 @@ db = datastore.store
default_permissions = {"*!*@*": ['relay.linked'],
"$ircop": ['relay.linkacl*']}
default_oper_permissions = {"$ircop": ['relay.create', 'relay.destroy', 'relay.link',
'relay.delink', 'relay.claim']}
'relay.delink', 'relay.claim', 'relay.chandesc*']}
### INTERNAL FUNCTIONS