This release is a pre-release and may not be stable for production use.
LiteyukiBot v7 Permissions
liteyukibot-v7-permissions provides the versioned
liteyukibot.permissions@1 service for native LiteyukiBot v7 plugins.
The service resolves exact runtime_id, bot_id, and actor_id principals
into named roles and capability tokens. Wildcards and actor-only global
identities are intentionally unsupported.
[plugins]
enabled = ["liteyukibot.permissions"]
[plugins.config."liteyukibot.permissions".roles]
operator = ["liteyukibot.status.read", "example.echo.manage"]
[[plugins.config."liteyukibot.permissions".grants]]
runtime_id = "nonebot"
bot_id = "10000"
actor_id = "20000"
roles = ["operator"]
capabilities = ["example.echo.use"]
Consumers declare ServiceRequirement(PERMISSION_SERVICE) and resolve a
PermissionService from their plugin context. allows(event, capability)
performs an exact, fail-closed check. resolve(event) returns a frozen snapshot
for diagnostics. Every event has public; plugins check capabilities rather
than deployment role names.
Privileged boundaries call decide(event, capability, component=...) instead.
It has the same exact policy outcome and keeps a bounded in-memory audit
snapshot available through audit(). Each record contains only the capability,
principal tuple, component, event ID, allow/deny outcome, and stable reason;
message content, API parameters, and tool arguments are never captured.
Metadata
Release files for liteyukibot-v7-permissions 0.2.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| liteyukibot_v7_permissions-0.2.0a2.tar.gz | 6.0 kB | Without provenance | Details for liteyukibot_v7_permissions-0.2.0a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| liteyukibot_v7_permissions-0.2.0a2-py3-none-any.whl | Python 3 | none | any | Details for liteyukibot_v7_permissions-0.2.0a2-py3-none-any.whl |
Total release size: 14.4 kB
Release files / liteyukibot_v7_permissions-0.2.0a2.tar.gz
| Download URL | liteyukibot_v7_permissions-0.2.0a2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3965d9acc8091d3b57d5113153fba679a30c772cc5e70b06963c3c14cd116e1
|
|
BLAKE2b-256 checksum How to use checksums |
0c876fa116da9a20adfbe7f72c1a0418fa7157d07d1a63015b13b4267710705b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / liteyukibot_v7_permissions-0.2.0a2-py3-none-any.whl
| Download URL | liteyukibot_v7_permissions-0.2.0a2-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21e024fb0f544fd2c488c0e8daac5904bfbdd6a5c93c20b29cd9332b4ca68f23
|
|
BLAKE2b-256 checksum How to use checksums |
b924769c7e1e1d2c7c64c723e78105ee3c11f8bdf3195e1c1ca3bdabf69afde4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for liteyukibot-v7-permissions 0.2.0a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.