cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Set sunset max date for sunrise/sunset access request

Set sunset max date for sunrise/sunset access request

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.

mike818148_0-1610559586972.png

 

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

1.png
 
 
 

SailPointClassicBundle.js:

 
2.png

 

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:

3.png

 

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

Version history
Revision #:
5 of 5
Last update:
‎May 16, 2026 09:58 AM
Updated by: