API reference

Permissions

Every permission identifier of the plugin, generated from permissions/.

Generated from crates/tauri-plugin-i18n-next/permissions/default.toml and permissions/autogenerated/, which Tauri writes from the command list on build.

Default permission set

Identifier: i18n-next:default

What the front end needs: the meta (tags, chains, formats), load the payload and pages, read and switch the locale. report_missing (dev only) is not included: add i18n-next:allow-report-missing to a dev capability.

allow-load, allow-load-page, allow-meta, allow-get-locale, allow-available-locales, allow-pages, allow-set-locale

All permissions

IdentifierDescriptionIn default
i18n-next:allow-available-localesEnables the available_locales command without any pre-configured scope.✓
i18n-next:deny-available-localesDenies the available_locales command without any pre-configured scope.
i18n-next:allow-get-localeEnables the get_locale command without any pre-configured scope.✓
i18n-next:deny-get-localeDenies the get_locale command without any pre-configured scope.
i18n-next:allow-loadEnables the load command without any pre-configured scope.✓
i18n-next:deny-loadDenies the load command without any pre-configured scope.
i18n-next:allow-load-pageEnables the load_page command without any pre-configured scope.✓
i18n-next:deny-load-pageDenies the load_page command without any pre-configured scope.
i18n-next:allow-metaEnables the meta command without any pre-configured scope.✓
i18n-next:deny-metaDenies the meta command without any pre-configured scope.
i18n-next:allow-pagesEnables the pages command without any pre-configured scope.✓
i18n-next:deny-pagesDenies the pages command without any pre-configured scope.
i18n-next:allow-report-missingEnables the report_missing command without any pre-configured scope.
i18n-next:deny-report-missingDenies the report_missing command without any pre-configured scope.
i18n-next:allow-set-localeEnables the set_locale command without any pre-configured scope.✓
i18n-next:deny-set-localeDenies the set_locale command without any pre-configured scope.