mirror of
https://github.com/YunoHost-Apps/kimai2_ynh.git
synced 2024-09-03 19:26:26 +02:00
Handle ldap groups in the manifest
This commit is contained in:
parent
09304bfabd
commit
bbf93d01a5
2 changed files with 4 additions and 12 deletions
|
@ -63,6 +63,10 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
|
|||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
# Non-web, LDAP groups
|
||||
teamlead.allowed = "nobody"
|
||||
admin.allowed = "admins"
|
||||
super_admin.allowed = "__ADMIN__"
|
||||
|
||||
[resources.apt]
|
||||
packages = [
|
||||
|
|
|
@ -23,18 +23,6 @@ if [ "$database" == "sqlite" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# #REMOVEME? if ! ynh_permission_exists --permission="teamlead"; then
|
||||
# #REMOVEME? ynh_permission_create --permission="teamlead"
|
||||
# fi
|
||||
|
||||
# #REMOVEME? if ! ynh_permission_exists --permission="admin"; then
|
||||
# #REMOVEME? ynh_permission_create --permission="admin"
|
||||
# fi
|
||||
|
||||
# #REMOVEME? if ! ynh_permission_exists --permission="super_admin"; then
|
||||
# #REMOVEME? ynh_permission_create --permission="super_admin" --allowed="$admin"
|
||||
# fi
|
||||
|
||||
if [ -z "${registration:-}" ]; then
|
||||
registration=0
|
||||
ynh_app_setting_set --app="$app" --key=registration --value="$registration"
|
||||
|
|
Loading…
Add table
Reference in a new issue