Menambah izin per perintah atau per fungsi

This commit is contained in:
rizky_denianto committed 2026-07-16 00:32:16 +07:00
1 parent b7ceeccb52
commit c72c86c984
14 files changed
+234 -35

No files matched your search

+44 -8
View File
@@ -295,22 +295,58 @@
"type": "string",
"oneOf": [
{
"description": "Enables the ping command without any pre-configured scope.",
"description": "Enables the cek_izin command without any pre-configured scope.",
"type": "string",
"const": "allow-ping",
"markdownDescription": "Enables the ping command without any pre-configured scope."
"const": "allow-cek-izin",
"markdownDescription": "Enables the cek_izin command without any pre-configured scope."
},
{
"description": "Denies the ping command without any pre-configured scope.",
"description": "Denies the cek_izin command without any pre-configured scope.",
"type": "string",
"const": "deny-ping",
"markdownDescription": "Denies the ping command without any pre-configured scope."
"const": "deny-cek-izin",
"markdownDescription": "Denies the cek_izin command without any pre-configured scope."
},
{
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-ping`",
"description": "Enables the daftar_perangkat command without any pre-configured scope.",
"type": "string",
"const": "allow-daftar-perangkat",
"markdownDescription": "Enables the daftar_perangkat command without any pre-configured scope."
},
{
"description": "Denies the daftar_perangkat command without any pre-configured scope.",
"type": "string",
"const": "deny-daftar-perangkat",
"markdownDescription": "Denies the daftar_perangkat command without any pre-configured scope."
},
{
"description": "Enables the kirim command without any pre-configured scope.",
"type": "string",
"const": "allow-kirim",
"markdownDescription": "Enables the kirim command without any pre-configured scope."
},
{
"description": "Denies the kirim command without any pre-configured scope.",
"type": "string",
"const": "deny-kirim",
"markdownDescription": "Denies the kirim command without any pre-configured scope."
},
{
"description": "Enables the minta_izin command without any pre-configured scope.",
"type": "string",
"const": "allow-minta-izin",
"markdownDescription": "Enables the minta_izin command without any pre-configured scope."
},
{
"description": "Denies the minta_izin command without any pre-configured scope.",
"type": "string",
"const": "deny-minta-izin",
"markdownDescription": "Denies the minta_izin command without any pre-configured scope."
},
{
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `cek_izin`\n- `minta_izin`\n- `daftar_perangkat`\n- `kirim`",
"type": "string",
"const": "default",
"markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-ping`"
"markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `cek_izin`\n- `minta_izin`\n- `daftar_perangkat`\n- `kirim`"
}
]
}