Archived
Menyesuaikan keterangan dengan fungsi yang ada
This commit is contained in:
1 parent
caf005b82d
commit
c0ec86185b
7 files changed
+83
-28
No files matched your search
@@ -1,4 +1,4 @@
|
||||
const COMMANDS: &[&str] = &["autentikasi"];
|
||||
const COMMANDS: &[&str] = &["masuk", "keluar"];
|
||||
|
||||
fn main() {
|
||||
tauri_plugin::Builder::new(COMMANDS)
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-autentikasi"
|
||||
description = "Enables the autentikasi command without any pre-configured scope."
|
||||
commands.allow = ["autentikasi"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-autentikasi"
|
||||
description = "Denies the autentikasi command without any pre-configured scope."
|
||||
commands.deny = ["autentikasi"]
|
||||
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-keluar"
|
||||
description = "Enables the keluar command without any pre-configured scope."
|
||||
commands.allow = ["keluar"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-keluar"
|
||||
description = "Denies the keluar command without any pre-configured scope."
|
||||
commands.deny = ["keluar"]
|
||||
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-masuk"
|
||||
description = "Enables the masuk command without any pre-configured scope."
|
||||
commands.allow = ["masuk"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-masuk"
|
||||
description = "Denies the masuk command without any pre-configured scope."
|
||||
commands.deny = ["masuk"]
|
||||
@@ -4,7 +4,8 @@ Default permissions for the plugin
|
||||
|
||||
#### This default permission set includes the following:
|
||||
|
||||
- `allow-autentikasi`
|
||||
- `allow-masuk`
|
||||
- `allow-keluar`
|
||||
|
||||
## Permission Table
|
||||
|
||||
@@ -18,12 +19,12 @@ Default permissions for the plugin
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`auth:allow-autentikasi`
|
||||
`auth:allow-keluar`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the autentikasi command without any pre-configured scope.
|
||||
Enables the keluar command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@@ -31,12 +32,38 @@ Enables the autentikasi command without any pre-configured scope.
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`auth:deny-autentikasi`
|
||||
`auth:deny-keluar`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the autentikasi command without any pre-configured scope.
|
||||
Denies the keluar command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`auth:allow-masuk`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the masuk command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`auth:deny-masuk`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the masuk command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
[default]
|
||||
description = "Default permissions for the plugin"
|
||||
permissions = ["allow-autentikasi"]
|
||||
permissions = [
|
||||
"allow-masuk",
|
||||
"allow-keluar"
|
||||
]
|
||||
@@ -295,22 +295,34 @@
|
||||
"type": "string",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Enables the autentikasi command without any pre-configured scope.",
|
||||
"description": "Enables the keluar command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "allow-autentikasi",
|
||||
"markdownDescription": "Enables the autentikasi command without any pre-configured scope."
|
||||
"const": "allow-keluar",
|
||||
"markdownDescription": "Enables the keluar command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the autentikasi command without any pre-configured scope.",
|
||||
"description": "Denies the keluar command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "deny-autentikasi",
|
||||
"markdownDescription": "Denies the autentikasi command without any pre-configured scope."
|
||||
"const": "deny-keluar",
|
||||
"markdownDescription": "Denies the keluar command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-autentikasi`",
|
||||
"description": "Enables the masuk command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "allow-masuk",
|
||||
"markdownDescription": "Enables the masuk command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the masuk command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "deny-masuk",
|
||||
"markdownDescription": "Denies the masuk command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-masuk`\n- `allow-keluar`",
|
||||
"type": "string",
|
||||
"const": "default",
|
||||
"markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-autentikasi`"
|
||||
"markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-masuk`\n- `allow-keluar`"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user