Hello Sailors,
Somehow we had an use case, which customer wants to have a max date checking for all assigned business roles. For example, we want to control the max duration which requester can assigned a role during Sunrise/Sunset date selection.
The below feature has been tested on IIQ 8.1p1.
The below example, we set the End Date Max-Date to be Start Date + 7 Days.
The control of the Sunrise/Sunset dialog is under the javascripts below:
~/identityiq/ui/js/bundles/SailPointBundle.js, ~/identityiq/ui/js/bundles/SailPointClassicBundle.js
Here are the changes related:
SailPointBundle.js:
you can modify the Max Duration under 1000*60*60*24*$Days
SailPointClassicBundle.js:
After modification, please restart Tomcat.
To verify if the modification works, we can utilize browser developer tools to check if max-date is set for sunsetDatepicker:
Please also note that since it’s a customization on the core product, we will need to cater it during patch and major release upgrade.
Best regards,
Mike