X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fadmin_topics.py;h=de0ad1f4fbe965ccb88dfffb9d42855120b49b43;hp=8960961ec36f9d7515be8f4e8a573062f271db9b;hb=6d83f8f3c7ac8c18982b3a994a539acbb033fab5;hpb=f976a3a6e39bf7a5804bb0e350a3daba74360a37 diff --git a/osm_nbi/admin_topics.py b/osm_nbi/admin_topics.py index 8960961..de0ad1f 100644 --- a/osm_nbi/admin_topics.py +++ b/osm_nbi/admin_topics.py @@ -1000,6 +1000,8 @@ class UserTopicAuth(UserTopic): or indata.get("project_role_mappings") or indata.get("projects") or indata.get("add_projects") + or indata.get("unlock") + or indata.get("renew") ): return _id if indata.get("project_role_mappings") and ( @@ -1122,6 +1124,9 @@ class UserTopicAuth(UserTopic): "old_password": indata.get("old_password"), "add_project_role_mappings": mappings_to_add, "remove_project_role_mappings": mappings_to_remove, + "system_admin_id": indata.get("system_admin_id"), + "unlock": indata.get("unlock"), + "renew": indata.get("renew"), } ) data_to_send = {"_id": _id, "changes": indata}