Revert "Feature 10941: User Management Enhancements"

This reverts commit 536bb568cd1c79d16d36cd13bdd20d167337d30d.

Change-Id: I238e646546088f9135c272f9ff4890b65959a570
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osm_nbi/validation.py b/osm_nbi/validation.py
index 4dafed5..e5c2a03 100644
--- a/osm_nbi/validation.py
+++ b/osm_nbi/validation.py
@@ -35,10 +35,6 @@
     "pattern": "^[^,;()\\.\\$'\"]+$",
 }
 passwd_schema = {"type": "string", "minLength": 1, "maxLength": 60}
-user_passwd_schema = {
-    "type": "string",
-    "pattern": "^.*(?=.{8,})((?=.*[!@#$%^&*()\\-_=+{};:,<.>]){1})(?=.*\\d)((?=.*[a-z]){1})((?=.*[A-Z]){1}).*$",
-}
 name_schema = {
     "type": "string",
     "minLength": 1,
@@ -1086,7 +1082,7 @@
     "properties": {
         "username": string_schema,
         "domain_name": shortname_schema,
-        "password": user_passwd_schema,
+        "password": passwd_schema,
         "projects": nameshort_list_schema,
         "project_role_mappings": project_role_mappings,
     },
@@ -1098,16 +1094,13 @@
     "title": "User edit schema for administrators",
     "type": "object",
     "properties": {
-        "password": user_passwd_schema,
+        "password": passwd_schema,
         "old_password": passwd_schema,
         "username": string_schema,  # To allow User Name modification
         "projects": {"oneOf": [nameshort_list_schema, array_edition_schema]},
         "project_role_mappings": project_role_mappings,
         "add_project_role_mappings": project_role_mappings,
         "remove_project_role_mappings": project_role_mappings_optional,
-        "system_admin_id": id_schema,
-        "unlock": bool_schema,
-        "renew": bool_schema,
     },
     "minProperties": 1,
     "additionalProperties": False,