mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
relay: grant CHANDESC permissions to opers if allow_free_oper_links is true
This commit is contained in:
parent
d8c1511b28
commit
f9611ef6bc
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user