Dear Support,
I would like to know if there is a standard solution or a recommended one to:
- ask the user to accept our terms of use (after first login) or contract modification (when needed) before continue (our users are created by administrator and doesn't register to software)
- have a "What's new" area where we can publish all software modifications
6 Answer(s)
-
0
Hi @niengineering
- Unfortunately, we don't have such a mechanism out of the box.
- You can use notifications for this, see https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Notifications
-
0
Ok, notifications is not what we are searching for this topic but we understand there is nothing inside the standard so we will implement it. Thank you
-
0
Is there a way to intercept (Angular+NET Core) that a user needs to accept the contract after login?
-
0
Hi,
You can add a new field to user Entity (ContractAccepted) and if this field is false, you can redirect user to a special page after login.
-
0
Yeah clear... but what is the point in the Angular code where I can add this check? I need to understand where I can intercept every request coming from a logged user. E.g. if he log in I can add this contract window but I need to be sure that, after the login, if he try to navigate (manually through the browser) to some valid address the contract window shows up
-
0
Hi,
We are using https://github.com/aspnetboilerplate/abp-ng2-module/blob/master/projects/abp-ng2-module/src/lib/interceptors/abpHttpInterceptor.ts to intercept all HTTP request on Angular app. I think you can replace this with your own implementation and handle this case.