We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a9edce commit 688bb9fCopy full SHA for 688bb9f
1 file changed
openedx_authz/settings/common.py
@@ -17,6 +17,9 @@ def plugin_settings(settings):
17
settings: The Django settings object
18
"""
19
# Add external third-party apps to INSTALLED_APPS
20
+ casbin_adapter_app = "casbin_adapter.apps.CasbinAdapterConfig"
21
+ if casbin_adapter_app not in settings.INSTALLED_APPS:
22
+ settings.INSTALLED_APPS.append(casbin_adapter_app)
23
24
# Add Casbin configuration
25
settings.CASBIN_MODEL = os.path.join(
0 commit comments