X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_nbi%2Fnbi.py;h=46fd8cce40c8df20f3409a0dccaa1c16cb9a24bc;hb=536bb568cd1c79d16d36cd13bdd20d167337d30d;hp=d62e8a2779930c3a849dedf2292a939c74a15c45;hpb=0a836c6d1404a7b92154db70d7db5812fa0882b1;p=osm%2FNBI.git diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py index d62e8a2..46fd8cc 100644 --- a/osm_nbi/nbi.py +++ b/osm_nbi/nbi.py @@ -1934,6 +1934,9 @@ def _start_service(): engine_config = cherrypy.tree.apps["/osm"].config for k, v in environ.items(): + if k == "OSMNBI_USER_MANAGEMENT": + feature_state = eval(v.title()) + engine_config["authentication"]["user_management"] = feature_state if not k.startswith("OSMNBI_"): continue k1, _, k2 = k[7:].lower().partition("_")