1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kimai2_ynh.git synced 2024-09-03 19:26:26 +02:00
* 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 <yunohost-bot@users.noreply.github.com>
Co-authored-by: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com>
This commit is contained in:
eric_G 2024-02-06 20:16:02 +01:00 committed by GitHub
parent 3045ecb0ba
commit a74d77465b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View file

@ -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 = [

View file

@ -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
#=================================================