From a74d77465ba453b2d45c4520410ff70fc71e8e6b Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 6 Feb 2024 20:16:02 +0100 Subject: [PATCH] Testing (#88) * Upgrade to v2.11.0 (#86) * Upgrade to v2.11.0 * Auto-update README * Update manifest.toml * Update manifest.toml (#85) Add dedicated API permission * fix linter --------- Co-authored-by: YunoHost Bot Co-authored-by: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> --- manifest.toml | 9 ++++++++- scripts/install | 2 -- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 2df058a..e5abba4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -25,8 +25,11 @@ cpe = "cpe:2.3:a:kimai:kimai_2" yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = true + sso = false + disk = "50M" ram.build = "500M" ram.runtime = "80M" @@ -63,10 +66,14 @@ ram.runtime = "80M" [resources.permissions] main.url = "/" + api.url = "/api" + api.show_tile = false + api.allowed = "visitors" + api.auth_header = false # Non-web, LDAP groups teamlead.allowed = "" admin.allowed = "admins" - super_admin.allowed = "" + super_admin.allowed = "admins" [resources.apt] packages = [ diff --git a/scripts/install b/scripts/install index cc885fe..d830cb7 100755 --- a/scripts/install +++ b/scripts/install @@ -19,8 +19,6 @@ ynh_app_setting_set --app="$app" --key=database --value="$database" random_key=$(ynh_string_random --length=32) ynh_app_setting_set --app="$app" --key=random_key --value="$random_key" -ynh_permission_update -p "super_admin" --add "$admin" - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #=================================================