mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-24 17:30:51 +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
|
# This block defines various options for the Relay plugin. You don't need this
|
||||||
# if you aren't using it.
|
# if you aren't using it.
|
||||||
|
|
||||||
# Determines whether all opers should be able to create, link, delink, destroy,
|
# Determines whether all opers should be able to create, link, delink, destroy, and adjust
|
||||||
# and adjust claim settings on relay channels. You can disable this if you want
|
# claim settings & channel descriptions on relay channels. You can disable this if you want to
|
||||||
# to configure link permissions in a more fine grained way, e.g. by granting each
|
# configure Relay permissions in a more fine grained way, e.g. by granting each network admin
|
||||||
# network admin their own PyLink account.
|
# their own PyLink account.
|
||||||
# This defaults to True if not set, for consistency with older (< 2.0) PyLink versions.
|
# 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.
|
# Changing this setting requires a rehash and reload of the Relay plugin to apply.
|
||||||
allow_free_oper_links: true
|
allow_free_oper_links: true
|
||||||
|
@ -29,7 +29,7 @@ db = datastore.store
|
|||||||
default_permissions = {"*!*@*": ['relay.linked'],
|
default_permissions = {"*!*@*": ['relay.linked'],
|
||||||
"$ircop": ['relay.linkacl*']}
|
"$ircop": ['relay.linkacl*']}
|
||||||
default_oper_permissions = {"$ircop": ['relay.create', 'relay.destroy', 'relay.link',
|
default_oper_permissions = {"$ircop": ['relay.create', 'relay.destroy', 'relay.link',
|
||||||
'relay.delink', 'relay.claim']}
|
'relay.delink', 'relay.claim', 'relay.chandesc*']}
|
||||||
|
|
||||||
### INTERNAL FUNCTIONS
|
### INTERNAL FUNCTIONS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user