Commit 8fcd335f authored by Benedikt Schnabel's avatar Benedikt Schnabel

generating working settings (there wasn't even an existing...

generating working settings (there wasn't even an existing /customer_config/general/settings_dev.py file after someone had merge conflicts) so I can continue my work. (part2: pdp)
parent 8bebf681
from general.settings import *
# ########################
# pdp Settings #
##########################
......@@ -13,21 +12,6 @@ BASIC_AUTH_USER = 'crust'
BASIC_AUTH_PASSWORD = 'Unity-Grease-Cow-Sensitive-Despair-5'
# Resource Settings
RESOURCE_FILTER = '(|(objectClass=rbacResource)(objectClass=inetOrgPerson))'
RESOURCE_BASE = 'ou=resources,ou=_tenant_,dc=pdp,dc=didmos,dc=de'
RESOURCE_ALIAS_ATTRIBUTE = 'uid'
RESOURCE_NAMING_ATTRIBUTE = 'rbacName'
RESOURCE_PERMISSION_DN = 'rbacPermissionDN'
RESOURCE_TEMPLATE_ATTRIBUTE = 'rbacResourceTemplateDN'
# Template Settings
TEMPLATE_FILTER = '(objectClass=rbacResourceTemplate)'
TEMPLATE_BASE = 'ou=resourceTemplates,ou=_tenant_,ou=pdp,dc=daasi2,dc=de'
TEMPLATE_NAMING_ATTRIBUTE = 'rbacName'
# Role Settings
ROLE_BASE = 'ou=roles,ou=_tenant_,dc=pdp,dc=didmos,dc=de'
RESOURCE_BASE = 'ou=data,ou=_tenant_,dc=pdp,dc=didmos,dc=de'
# Template Settings
......@@ -43,11 +27,6 @@ ROLE_FILTER = '(objectClass=rbacRole)'
# User Settings
USER_FILTER = '(objectClass=inetOrgPerson)'
USER_NAMINGATTRIBUTE = 'uid'
USER_BASE = 'ou=people,ou=_tenant_,dc=pdp,dc=didmos,dc=de'
# Session Settings
SESSION_BASE = 'ou=sessions,ou=_tenant_,dc=pdp,dc=didmos,dc=de'
USER_BASE = 'ou=data,ou=_tenant_,dc=pdp,dc=didmos,dc=de'
# Session Settings
......@@ -57,8 +36,6 @@ SESSION_FILTER = '(objectClass=rbacSession)'
SESSION_REMOVAL_DURATION = 480 # 8 hours
# Permission Settings
PERMISSION_BASE = 'ou=permissions,ou=pdp,dc=daasi2,dc=de'
PERMISSION_BASE = 'ou=permissions,ou=pdp,ou=_tenant_,dc=pdp,dc=didmos,dc=de'
PERMISSION_NAMINGATTRIBUTE = 'rbacName'
PERMISSION_FILTER = '(objectClass=rbacPermission)'
......@@ -69,16 +46,12 @@ PERMISSION_OPERATION_ATTRIBUTE = 'rbacOperation'
INTERCEPTOR_ROLE_SELF_RIGHTS = ['read', 'write', 'modify-add', 'modify-del', 'modify-replace', 'delete']
# Tenancy Settings
MULTITENANT_ACTIVE = 'True'
MULTITENANT_ACTIVE = True
MULTITENANT_PLACEHOLDER = '_tenant_'
TENANT_BASE = 'ou=people,ou=_tenant_,dc=pdp,dc=didmos,dc=de'
TENANT_BASE = 'ou=_tenant_,dc=pdp,dc=didmos,dc=de'
# LDAP Base
LDAP_HOST = 'ldaps://crust-poc.daasi.de'
LDAP_PORT = '636'
LDAP_BIND_DN = 'cn=manager,dc=pdp,dc=didmos,dc=de'
LDAP_BIND_PW = 'cRuSt-Me-4'
LDAP_VERSION = 3
# PERMISSION Engine
TENANT = 'default-tenant'
TENANT = 'lui2backend'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment