Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Time bounded restriction for Entitlement Request

gazanjum
Regular Contributor
Regular Contributor

We are trying to establish an approach where the Entitlements like Directory Roles will be requested should be only requested at a particular time.

For instance,

Access is requestable only during 20:00  to 5:00  CET

We already have a query which is restricting the maxtimeframe to 9 hours however our requirement is for specific time.

 

Regards

Gazala

3 REPLIES 3

NM
Honored Contributor II
Honored Contributor II

Hi @gazanjum , you can reject the request if time of submission is greater than or less than the above specified time.

gazanjum
Regular Contributor
Regular Contributor

The ask is user should only be able to request during that timeframe. We are not looking for an approval flow here.

Considering this is application access request form. Creating blocking dynamic attribute which will check current time and show allowed or not allowed message.

 

SELECT CASE WHEN TIME(CONVERT_TZ(NOW(), '+00:00', '-06:00')) BETWEEN '20:00:00' AND '23:59:59' OR TIME(CONVERT_TZ(NOW(), '+00:00', '-06:00')) BETWEEN '00:00:00' AND '05:00:00' THEN 'allow' ELSE 'not allow' END AS id From dual


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.