bug 1035. Load role permissions from nbi.py 'valid_url_methods' instead of 'resources_to_operations.yml'
Change-Id: I84a80f8cef886cbce9b22819ead04ae14d31af79
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_nbi/authconn_keystone.py b/osm_nbi/authconn_keystone.py
index c69d64b..d71408a 100644
--- a/osm_nbi/authconn_keystone.py
+++ b/osm_nbi/authconn_keystone.py
@@ -45,8 +45,8 @@
class AuthconnKeystone(Authconn):
- def __init__(self, config, db):
- Authconn.__init__(self, config, db)
+ def __init__(self, config, db, role_permissions):
+ Authconn.__init__(self, config, db, role_permissions)
self.logger = logging.getLogger("nbi.authenticator.keystone")
self.domains_id2name = {}