mirror of
https://github.com/YunoHost-Apps/kimai2_ynh.git
synced 2024-09-03 19:26:26 +02:00
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 <yunohost-bot@users.noreply.github.com> Co-authored-by: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com>
This commit is contained in:
parent
3045ecb0ba
commit
a74d77465b
2 changed files with 8 additions and 3 deletions
|
@ -25,8 +25,11 @@ cpe = "cpe:2.3:a:kimai:kimai_2"
|
||||||
yunohost = ">= 11.2"
|
yunohost = ">= 11.2"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
|
|
||||||
ldap = true
|
ldap = true
|
||||||
|
|
||||||
sso = false
|
sso = false
|
||||||
|
|
||||||
disk = "50M"
|
disk = "50M"
|
||||||
ram.build = "500M"
|
ram.build = "500M"
|
||||||
ram.runtime = "80M"
|
ram.runtime = "80M"
|
||||||
|
@ -63,10 +66,14 @@ ram.runtime = "80M"
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
api.url = "/api"
|
||||||
|
api.show_tile = false
|
||||||
|
api.allowed = "visitors"
|
||||||
|
api.auth_header = false
|
||||||
# Non-web, LDAP groups
|
# Non-web, LDAP groups
|
||||||
teamlead.allowed = ""
|
teamlead.allowed = ""
|
||||||
admin.allowed = "admins"
|
admin.allowed = "admins"
|
||||||
super_admin.allowed = ""
|
super_admin.allowed = "admins"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = [
|
packages = [
|
||||||
|
|
|
@ -19,8 +19,6 @@ ynh_app_setting_set --app="$app" --key=database --value="$database"
|
||||||
random_key=$(ynh_string_random --length=32)
|
random_key=$(ynh_string_random --length=32)
|
||||||
ynh_app_setting_set --app="$app" --key=random_key --value="$random_key"
|
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
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue