File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,7 @@ def acl_setuser(
193
193
selectors : Optional [Iterable [Tuple [str , KeyT ]]] = None ,
194
194
reset : bool = False ,
195
195
reset_keys : bool = False ,
196
+ reset_channels : bool = False ,
196
197
reset_passwords : bool = False ,
197
198
** kwargs ,
198
199
) -> ResponseT :
@@ -248,6 +249,12 @@ def acl_setuser(
248
249
key permissions will be kept and any new specified key permissions
249
250
will be applied on top.
250
251
252
+ ``reset_channels`` is a boolean indicating whether the user's channel
253
+ permissions should be reset prior to applying any new channel permissions
254
+ specified in ``channels``.If this is False, the user's existing
255
+ channel permissions will be kept and any new specified channel permissions
256
+ will be applied on top.
257
+
251
258
``reset_passwords`` is a boolean indicating whether to remove all
252
259
existing passwords and the 'nopass' flag from the user prior to
253
260
applying any new passwords specified in 'passwords' or
@@ -266,6 +273,9 @@ def acl_setuser(
266
273
if reset_keys :
267
274
pieces .append (b"resetkeys" )
268
275
276
+ if reset_channels :
277
+ pieces .append (b"resetchannels" )
278
+
269
279
if reset_passwords :
270
280
pieces .append (b"resetpass" )
271
281
You can’t perform that action at this time.
0 commit comments