Method
acl_setuser
(
self: SyncClientProtocol,
username: str,
enabled: bool = False,
nopass: bool = False,
passwords: str | Iterable[str] | None = None,
hashed_passwords: str | Iterable[str] | None = None,
categories: Iterable[str] | None = None,
commands: Iterable[str] | None = None,
keys: Iterable[KeyT] | None = None,
channels: Iterable[ChannelT] | None = None,
selectors: Iterable[Tuple[str, KeyT]] | None = None,
reset: bool = False,
reset_keys: bool = False,
reset_channels: bool = False,
reset_passwords: bool = False,
**kwargs,
)
Source from the content-addressed store, hash-verified
| 339 | |
| 340 | @overload |
| 341 | def acl_setuser( |
| 342 | self: SyncClientProtocol, |
| 343 | username: str, |
| 344 | enabled: bool = False, |
| 345 | nopass: bool = False, |
| 346 | passwords: str | Iterable[str] | None = None, |
| 347 | hashed_passwords: str | Iterable[str] | None = None, |
| 348 | categories: Iterable[str] | None = None, |
| 349 | commands: Iterable[str] | None = None, |
| 350 | keys: Iterable[KeyT] | None = None, |
| 351 | channels: Iterable[ChannelT] | None = None, |
| 352 | selectors: Iterable[Tuple[str, KeyT]] | None = None, |
| 353 | reset: bool = False, |
| 354 | reset_keys: bool = False, |
| 355 | reset_channels: bool = False, |
| 356 | reset_passwords: bool = False, |
| 357 | **kwargs, |
| 358 | ) -> bool: ... |
| 359 | |
| 360 | @overload |
| 361 | def acl_setuser( |