Time Based Restriction
Set specific days and hours when users are allowed to log in. Apply rules globally or to selected users/groups for better control and security.
This feature allows you to control when your users can log in to the system. You can set specific time windows when access is allowed and deny access outside those hours. This is a powerful way to enhance security and manage user activity.
Key Benefits:
Increased Security: Prevent unauthorized logins during off-hours.
Enhanced Control: Manage user access based on work schedules or other time-sensitive needs.
Flexible Configuration: Create restrictions that apply to everyone, specific users, or groups of users.
Step-by-Step Guide to Setting Up Time-Based Restrictions:
Accessing the Time-Based Restriction Settings:
Navigate to the "Time-Based Restriction" section located on the left side of the Settings.

Viewing Existing Restrictions:
The main "Time Based Restriction" page displays a list of existing restrictions.
Each restriction is shown as a card with the name of the associated login flow.
The card also shows which type of user the restrictions are applied to. (Common, User, Group)
Creating a New Restriction Flow:
Click the "Add New Restriction Flow" button located at the top of the page. This will open the "Select Restriction Type" modal.

Selecting the Restriction Type:
In the "Select Restriction Type" modal, choose the type of restriction you want to create:
Common Time Restriction: This applies the restriction to all users attempting to access the selected login flow.
User-Specific Restrictions: This allows you to set restrictions that apply only to specific users.
Group-Based Restrictions: This allows you to set restrictions that apply to groups of users.
Select the appropriate radio button.

Selecting the Login Flow:
Use the "Select Flow" dropdown to choose the login flow you want to apply the restriction to.
You can type in the search box to filter and quickly find the correct flow.
Confirming and Proceeding to Restriction Creation:
Once you've selected the restriction type and the login flow, click the "OK" button.
This will take you to the time restriction creation page where you will define the specific time slots and days of the week when access is allowed. (See the "Creating the Time Restriction" section below.)
Editing an Existing Restriction:
On each restriction card, you will see icons representing the different restriction types.
Click the appropriate icon (globe for Common, user icon for User, users icon for Group) to edit the restrictions for that type.
Deleting a Restriction:
On each restriction card, there is a trash can icon.
Click the trash can icon to delete the entire restriction mapping for that flow.
Warning: This will permanently remove the time-based restriction for the associated login flow.

Create Time-Based Restriction
This page lets you set specific time windows during which users are allowed to log in. Available options vary based on the selected restriction type: Common, User, or Group.
Accessing This Page:
You will arrive at this page after selecting a restriction type (Common, User, or Group) and a login flow from the main "Time Based Restriction" page and clicking "OK."

Understanding the Interface:
Breadcrumb: The breadcrumb at the top of the page helps you navigate back to the main "Time Based Restriction" settings.
Loading Indicator: While the page is loading, a spinner will be displayed.
Tabs (Conditional): The page displays content in different sections depending on the type of restriction (Common, User, or Group). Only one of these sections will be visible at a time.
Creating Common Time Restrictions:
This section applies restrictions to all users accessing the selected login flow, unless those users fall under a more specific User or Group restriction.

Time Settings:
Day: Use the dropdown menus to select the days of the week to which the restriction should apply. You can choose individual days (Monday, Tuesday, etc.) or select "All Day" to apply the restriction to every day.
Start Time: Enter the time when login access should begin in 24-hour format (HH:mm). For example, "09:00" for 9:00 AM or "17:00" for 5:00 PM.
End Time: Enter the time when login access should end in 24-hour format (HH:mm).
Adding/Removing Time Slots:
Click the "+" button to add a new row to define additional time slots for different days or times.
Click the "-" button to remove a time slot. You must have at least one time slot defined.
Create Common Time Restriction:
Once you have defined all the desired time slots, click the "Create Common Time Restriction" button.
Important: Ensure that all fields are filled in correctly.
Information Box:
Provides an overview of the use of Time Setting: login time boundaries.
It also displays a warning message, indicating that any attempts outside of the specified login time boundarie will be denied.
Creating Group-Based Time Restrictions:
This section allows you to apply restrictions to specific groups of users.

Group Selection:
Search Groups: Use the search box to find the groups you want to apply the restriction to.
Select Groups: Check the checkbox next to the name of each group you want to include in the restriction.
Assign Roles: Click on the respective role that you want to assign on each groups.
Add select the role, it will display roles with assigned date.
Time Settings:
The time settings section is identical to the Common Time Restriction setup (see above). Define the allowed days and times for the selected groups.
Create Group-Based Restrictions:
After selecting the groups and defining the time slots, click the "Create Group-Based Restrictions" button.
Important: You must select at least one group and ensure that all time fields are correctly filled.
Information Box:
Provides an overview of the use of Time Setting: login time boundaries.
It also displays a warning message, indicating that any attempts outside of the specified login time boundarie will be denied.
Creating User-Specific Time Restrictions:
This section allows you to apply restrictions to individual users.

User Selection:
Search Users: Use the search box to find the users you want to apply the restriction to.
Select Users: Click on the users name to add on selected user lists.
Display Selected Users: Display the list of selected users on screen.
Time Settings:
The time settings section is identical to the Common Time Restriction setup (see above). Define the allowed days and times for the selected users.
Create User-Specific Restrictions:
After selecting the users and defining the time slots, click the "Create User-Specific Restrictions" button.
Important: You must select at least one user and ensure that all time fields are correctly filled.
Information Box:
Provides an overview of the use of Time Setting: login time boundaries.
It also displays a warning message, indicating that any attempts outside of the specified login time boundarie will be denied.

Edit Time-Based Restriction
This page allows you to edit existing login time windows for users. Options vary based on the originally selected restriction type: Common, User, or Group.
Accessing This Page:
You will arrive at this page by clicking the appropriate edit icon on a restriction card from the main "Time Based Restriction" page.
Understanding the Interface:
The interface is similar to the "Create Page," but with the key difference that the fields are pre-populated with the existing restriction settings.
Breadcrumb: The breadcrumb at the top of the page helps you navigate back to the main "Time Based Restriction" settings.
Loading Indicator: While the page is loading, a spinner will be displayed.
Tabs (Conditional): The page displays content in different sections depending on the type of restriction (Common, User, or Group). Only one of these sections will be visible at a time, based on what you selected to edit.
Pre-filled Fields: The day selections and time slots will already be filled with the current restriction settings.
Editing Restrictions:
The steps to modify the restrictions are largely the same as creating them, but with a few key differences:
Common Time Restrictions (Editing):

Review Existing Settings: Carefully review the pre-populated day and time slots to understand the current restrictions.
Modify Time Settings:
Change the day selection by using the dropdown menus.
Edit the start and end times directly in the input fields.
Add or remove time slots as needed using the "+" and "-" buttons.
Save Common Configuration:
Once you have made the desired changes, click the "Save Common Configuration" button.
Important: Ensure that all fields are filled in correctly, and that any changes are intentional.
Group-Based Time Restrictions (Editing):

Review Group Selection:
Verify that the correct groups are still selected. Add or remove groups as needed by checking or unchecking the checkboxes.
Review Roles Selection:
Verify that the correct roles are still selected. Add or remove roles as needed by clicking on the dropdown.
Modify Time Settings:
Adjust the day and time slots as described in the "Common Time Restrictions (Editing)" section.
Update Group-Based Restrictions:
After making your changes, click the "Update Group-Based Restrictions" button.
User-Specific Time Restrictions (Editing):

Review User Selection:
Confirm that the correct users are selected. Add or remove users as needed.
Modify Time Settings:
Adjust the day and time slots as described in the "Common Time Restrictions (Editing)" section.
Save User Configuration:
After making your changes, click the "Save User Configuration" button.
Important Notes for ALL Restriction Types (Editing):
Time Format: All times must be entered in 24-hour format (HH:mm).
Overlapping Restrictions: If a user falls under both a Common and a User-Specific or Group-Based restriction, the most specific restriction (User or Group) will take precedence. Be aware of this when making changes.
Validation: The page will validate your input. Ensure that all required fields are filled and that the time formats are correct. Error messages will appear next to the invalid fields.
Confirmation: After clicking the "Save" button, you will be redirected back to the main "Time Based Restriction" settings page, where you should see your updated restriction in the list.
Key Differences from Creating Restrictions:
Pre-populated Data: The primary difference is that the fields are pre-populated with the existing restriction settings. Your main task is to review and modify these settings.
Focus on Review: Emphasize the importance of carefully review
Last updated