mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 10:48:10 +02:00
Deactivated OpenProject LDAP Administrator Flag
This commit is contained in:
@@ -8,7 +8,7 @@ oauth2_proxy:
|
|||||||
- "/oauth/token" # Necessary for Nextcloud Plugin to work
|
- "/oauth/token" # Necessary for Nextcloud Plugin to work
|
||||||
ldap:
|
ldap:
|
||||||
filters:
|
filters:
|
||||||
administrators: True # Set true to filter administrators
|
administrators: False # Set true to filter administrators
|
||||||
users: False # Set true to filter users
|
users: False # Set true to filter users
|
||||||
features:
|
features:
|
||||||
matomo: true
|
matomo: true
|
||||||
@@ -37,9 +37,9 @@ docker:
|
|||||||
database:
|
database:
|
||||||
enabled: true
|
enabled: true
|
||||||
web:
|
web:
|
||||||
name: openproject-web
|
name: openproject-web
|
||||||
image: openproject/community
|
image: openproject/community
|
||||||
version: "13" # Update when available. No rolling release implemented
|
version: "13" # Update when available. No rolling release implemented
|
||||||
backup:
|
backup:
|
||||||
no_stop_required: true
|
no_stop_required: true
|
||||||
cpus: "1.0"
|
cpus: "1.0"
|
||||||
@@ -47,7 +47,7 @@ docker:
|
|||||||
mem_limit: "2g"
|
mem_limit: "2g"
|
||||||
pids_limit: 512
|
pids_limit: 512
|
||||||
seeder:
|
seeder:
|
||||||
name: openproject-seeder
|
name: openproject-seeder
|
||||||
cpus: "0.3"
|
cpus: "0.3"
|
||||||
mem_reservation: "256m"
|
mem_reservation: "256m"
|
||||||
mem_limit: "512m"
|
mem_limit: "512m"
|
||||||
@@ -80,6 +80,4 @@ docker:
|
|||||||
pids_limit: 256
|
pids_limit: 256
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data: "openproject_data"
|
data: "openproject_data"
|
||||||
|
|
||||||
|
|
||||||
|
@@ -56,10 +56,10 @@ OPENPROJECT_RAILS_SETTINGS:
|
|||||||
smtp_ssl: false
|
smtp_ssl: false
|
||||||
|
|
||||||
## LDAP
|
## LDAP
|
||||||
OPENPROJECT_LDAP_ENABLED: "{{ applications | get_app_conf(application_id, 'features.ldap') }}"
|
OPENPROJECT_LDAP_ENABLED: "{{ applications | get_app_conf(application_id, 'features.ldap') }}"
|
||||||
|
OPENPROJECT_LDAP_FILTER_ADMINISTRATORS_ENABLED: "{{ applications | get_app_conf(application_id, 'ldap.filters.administrators') }}"
|
||||||
|
OPENPROJECT_LDAP_FILTER_USERS_ENABLED: "{{ applications | get_app_conf(application_id, 'ldap.filters.users') }}"
|
||||||
OPENPROJECT_LDAP_FILTERS:
|
OPENPROJECT_LDAP_FILTERS:
|
||||||
# The administrator filter just works in the Enterprise edition
|
# The administrator filter just works in the Enterprise edition
|
||||||
ADMINISTRATORS: "{{ '(memberOf=cn=openproject-admins,' ~ LDAP.DN.OU.ROLES ~ ')'
|
ADMINISTRATORS: "{{ '(memberOf=cn=openproject-admins,' ~ LDAP.DN.OU.ROLES ~ ')' if OPENPROJECT_LDAP_FILTER_ADMINISTRATORS_ENABLED else '' }}"
|
||||||
if applications | get_app_conf(application_id, 'ldap.filters.administrators') else '' }}"
|
USERS: "{{ '(memberOf=cn=openproject-users,' ~ LDAP.DN.OU.ROLES ~ ')' if OPENPROJECT_LDAP_FILTER_USERS_ENABLED else '' }}"
|
||||||
USERS: "{{ '(memberOf=cn=openproject-users,' ~ LDAP.DN.OU.ROLES ~ ')'
|
|
||||||
if applications | get_app_conf(application_id, 'ldap.filters.users') else '' }}"
|
|
||||||
|
Reference in New Issue
Block a user