Update README.md

This commit is contained in:
Stoyan Zlatev
2023-06-27 10:49:01 +00:00
parent 07f71f5f4b
commit 302aa05b0f
+4 -2
View File
@@ -2,8 +2,10 @@ Genesis Toolbox
---
In order to be used over different Xylem tenants and employees a AD and Local accounts authentication and authorization was added.
AD authentication is used on the first application start. After that each employee has the abillity to sign in himself with his lockal account's username and password. Successfuly authenticated users have a bearer token and a list of software functions saved into [Software.cs](https://slm.sms-esaap.com/la_operations/laa_production/-/blob/main/Common/Ui/GenesisToolBox/Infrastructure/Software.cs). Depending on the software functions are different options enabled or disabled. Assembly name and version is getted trough reflection.
AD authentication is used on the first application start. After that each employee has the abillity to sign in himself with his lockal account's username and password. Assembly name and version is getted trough reflection. Successfuly authenticated users receiving a bearer token and a list of software functions saved into [Software.cs](https://slm.sms-esaap.com/la_operations/laa_production/-/blob/main/Common/Ui/GenesisToolBox/Infrastructure/Software.cs). Depending on the software functions are different options enabled or disabled.
***Note:*** _Application state depends on web service that is implemented in [LaaProductionWeb](https://slm.sms-esaap.com/la_operations/laa_production/-/tree/main/LaaProductionWeb/LaaProduction.Web/API/). Also keep in mind on changing the [SoftwareFunctions.cs](https://slm.sms-esaap.com/la_operations/laa_production/-/blob/main/Common/Ui/GenesisToolBox/Infrastructure/SoftwareFunctions.cs) or changing the software functions in the database you should ensure both places are up to date._
***Note:*** _Application state depends on web service that is implemented in [LaaProductionWeb](https://slm.sms-esaap.com/la_operations/laa_production/-/tree/main/LaaProductionWeb/LaaProduction.Web/API/). If no connection to the web service can be made no content is loaded._
1. **Main form** - holds all software functions as buttons for the UI. Each button is assigned to software function in the `button.Tag` attribute. Initialiy all buttons are hidden, shown are they after successfully signed in user. Depending on user's functions compared to the button.Tag, are the buttons enabled or disabled for the user.