SunRise and SunSet format Change

Hello Experts,

Hope you all are doing well.

Currently we have enabled the sunrise and sunset for the role access request, by default startdate and enddate attributes showing in the date format(DD/MM/YYYY), we want to allow the user to request the access on the hourly basis. How can we change these attributes format instead of allowing the temporary access dates to hours?

Does any changes required in JS pages(SailPointBundle.js, SailPointClassicBundle.js)?

Regards,
Rami Reddy

I do not think there is any user interface available that can provide you an option to select time. So, you will have to create a custom workflow with custom form. Then you should be able to create your own provisioning plan. In your provisioning plan, use setAddDate and setRemoveDate on attribute request object to set the desired dates or you can create a plugin to achieve this requirement.

As far as I remember,

When you place a request in Manage Access with Sunset dates then immediately a task gets created to remove same access from user once it gets provisioned.

It does maintain exact time even if I remember correctly. What I mean is, let’s say if you place a request today at 5PM with sunset date as a week then your access will be removed almost at 5PM after a week. Need to cross check this.

if you would like to implement this with minimal work, then I would suggest

  1. Create a Quicklink, so that you can have date picker along with time. Use OOTB LCM Provisioning workflow only.
  2. Check the request, see if you need to customize this for accurate sunset datetime.
  3. Check the task that is created for this request (Access Removal), see if you need to customize that

I am not sure that this will work 100%, but it is worth to try as you might save a lot of development time.

You can customize Manage Access Request page to have time picker as well, it is going to be lot of work as you need to touch relevant workflows as well.

In my experience, OOTB sunrise/sunset was not able to fulfil all the custom requirements, so we decided to create a Quicklink for Temporary Access with custom forms, custom workflows.

You need to choose which approach is best suitable for your project requirements considering future goals.

Thank You Krishna for your time and giving inputs, initially i assumed there would be possibility to achieve with minor changes in the respective js pages, seems my assumption is not correct.

i will try to explore on this how can we achieve the desired results by using custom workflow & custom form based on the project requirement if its really essential.

1 Like

Thank you for your time and giving the inputs.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.