Menambah izin per perintah atau per fungsi
This commit is contained in:
1 parent
b7ceeccb52
commit
c72c86c984
14 files changed
+234
-35
No files matched your search
@@ -4,6 +4,16 @@ use crate::BluclasExt;
|
||||
use crate::Result;
|
||||
use crate::models::*;
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn cek_izin<R: Runtime>(app: AppHandle<R>) -> Result<bool> {
|
||||
return app.bluclas().cek_izin();
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn minta_izin<R: Runtime>(app: AppHandle<R>) -> Result<()> {
|
||||
return app.bluclas().minta_izin();
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn daftar_perangkat<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
|
||||
Reference in new issue
Block a user