[UI] Handling users and passwords 27/1727/1
authorIoakeim Samaras <ioakeim.samaras@ericsson.com>
Thu, 3 Oct 2019 13:26:17 +0000 (16:26 +0300)
committerIoakeim Samaras <ioakeim.samaras@ericsson.com>
Thu, 3 Oct 2019 13:26:17 +0000 (16:26 +0300)
commit0a46c82e91de6d98c02bd67f70f024bd95751a64
tree4328afa6cc79087690151487a5574d80d50004b0
parentbac41a9d7cbc4464d5cd502641f78ccb8d66aab1
[UI] Handling users and passwords

The UI does not reset passwords on startup.
Also, only the admin user is created during startup.
Then, new users can be created by the admin.
Moreover, 3 level of privileges are supported,
namely admin, tsc and lab owner.
Finally, the admin user is enabled to reset users.

JIRA: VAL-62

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: Ie799c5b7eedf557855cccdc5a60395ec074ac381
36 files changed:
.coafile
docker/README.rst
docker/mysql/deploy.sh
docker/ui/deploy.sh
ui/CHANGELOG.md
ui/README.rst
ui/db-scripts/EcompSdkDDLMySql_2_4_Common.sql
ui/db-scripts/EcompSdkDDLMySql_2_4_OS.sql
ui/db-scripts/EcompSdkDMLMySql_2_4_Common.sql
ui/db-scripts/EcompSdkDMLMySql_2_4_OS.sql
ui/db-scripts/akraino_blueprint_validation_db.sql
ui/db-scripts/examples/initialize_db_example.sql
ui/pom.xml
ui/src/main/java/org/akraino/validation/ui/conf/UiInitializer.java
ui/src/main/java/org/akraino/validation/ui/controller/ModelsViewsController.java
ui/src/main/java/org/akraino/validation/ui/controller/UserController.java
ui/src/main/java/org/akraino/validation/ui/data/UserData.java [new file with mode: 0644]
ui/src/main/resources/portal.properties
ui/src/main/webapp/WEB-INF/defs/definitions.xml
ui/src/main/webapp/app/BluvalUI/CreateUser/CreateUserController.js
ui/src/main/webapp/app/BluvalUI/CreateUser/CreateUserTemplate.html
ui/src/main/webapp/app/BluvalUI/GetUser/GetUser.html [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/GetUser/GetUser.js [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/GetUser/GetUserController.js [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/GetUser/GetUserTemplate.html [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/GetUser/Route.js [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/ResetUser/ResetUser.html [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/ResetUser/ResetUser.js [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/ResetUser/ResetUserController.js [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/ResetUser/ResetUserTemplate.html [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/ResetUser/Route.js [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/UpdatePassword/Route.js [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/UpdatePassword/UpdatePassword.html [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/UpdatePassword/UpdatePassword.js [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/UpdatePassword/UpdatePasswordController.js [new file with mode: 0644]
ui/src/main/webapp/app/BluvalUI/UpdatePassword/UpdatePasswordTemplate.html [new file with mode: 0644]