ansibleguy76/ansibleforms

Login banner with expression

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Hi!
I would like to have a login banner in any form to be displayed to the user right after logging in.
The banner could display terms and conditions of use or a message, could be a logo with some text.
The requirement is to display an instruction to the user when they log in the first time. Since AForms rely on information in CMDB records - some actions must be completed before the use is allowed.

Describe the solution you'd like
A trigger to display a banner could be receivde from an expression (which reads CMDB records for ex.), set by admin or stored in the iternal database (last login).
Also would be great to have a form linked to this banner and execute a playbook or pass vars to a playbook.

Describe alternatives you've considered
Alternative would be to include tasks to every form that check CMDB records which adds unneccessary code (and bugs).
The message then would be displayed in playbook logs which reduces readability and informativenes.

Additional context
Users are authorized with MS AD. They don't have records in CMDB by default which should have been created for them. The idea is to automate first time login procedures.