Policies
Overview
Supports viewing, creating, modifying, and deleting access policies (Policy) for web applications managed by the organization. Policy is the core foundational step for implementing and applying web application access permissions.

Administrator > Web Apps > Web App Access Control > Policies
Viewing Policies

Administrator > Web Apps > Web App Access Control > Policies > List Details
- Navigate to Administrator > Web Apps > Web App Access Control > Policies menu.
 - You can search by policy name through the search field in the top left of the table.
 - Debug errors in directly modified code through the Errors tab at the bottom. If there are errors in the code, the Errors tab is displayed in red so you can check immediately.
 - You can refresh the Policy list through the refresh button in the top right of the table.
 - The table provides the following information:
a. Name : Policy name
b. Description : Policy detailed description
c. Created At : Policy initial creation date and time
d. Updated At : Policy last modification date and time
e. Updated By : Administrator name who performed the last update - Clicking each row allows you to view policy detailed information.
- Detail
- This is the default tab where you can view the code defined by the policy.
 - There is a 
Go to Editor Modebutton on the right of the Detail tab, and clicking it switches to the corresponding Code Editor page screen. 
 - Roles
- Lists the Role list where this policy is assigned.
 - The list displays the following information for each Role:
- Name : Role name
 - Description : Role detailed description
 - Assigned At : Date and time when this policy was assigned to the Role
 - Assigned By : Administrator name who assigned this policy to the Role
 
 - Clicking each row provides detailed information about the Role in drawer format.
 
 - Versions
- Lists the history for each version of this policy.
- Policy versions are updated when Code is modified and saved.
 
 - The list displays the following information for each version:
- Version : Version name
 - Justification : Reason for policy update period
 - Updated At : Date and time when this version was created
 - Updated By : Name of the person who modified this version
 
 - Clicking each row provides detailed information about the version in drawer format.
- (Title) : Policy name
 - Version : Policy version
 - Justification : Reason for policy update period
 - Updated At : Date and time when this version was created
 - Updated By : Name of the person who modified this version
 - The policy code snapshot at that time is displayed at the bottom.
 
 
 - Lists the history for each version of this policy.
 
 - Detail
 
Creating Policies

- Navigate to Administrator > Web Apps > Web App Access Control > Policies menu.
 - Click the + Create Policy button in the top right.
 - Enter the following information for policy creation. (All information below is exposed to users.)
a. Name : Identifiable policy name (required)
b. Description : Additional description of the policy - Click the OK button to create.
 - Click the newly created policy at the top of the policy list.
 - Set policies by referring to the web application policy setting guide.
 
Modifying Policies

- Navigate to Administrator > Web Apps > Web App Access Control > Policies menu.
 - Click the Policy to modify from the list to go to the detailed page.
 - Click the Edit button in the top right of the screen to modify the following information.
a. Name : Identifiable policy name (required)
b. Description : Additional description of the policy - Click the OK button to apply the modifications.
 
Duplicating Policies

- Navigate to Administrator > Web Apps > Web App Access Control > Policies menu.
 - Click the Policy to duplicate from the list to go to the detailed page.
 - Click the Duplicate button in the top right of the screen to modify the duplicate’s information.
a. Name : Identifiable policy name (required)
b. Description : Additional description of the policy - Click the OK button to apply the modifications.
 - Click the newly duplicated policy at the top of the policy list to view/modify.
 
Deleting Policies

- Navigate to Administrator > Web Apps > Web App Access Control > Policies menu.
 - You can proceed with the deletion step in two ways:
a. Delete from list
i. Check the checkbox of the target policy to delete in the table.
ii. Click the Delete button that appears on the table column line.
b. Delete from detailed page
i. Click the Delete button in the top right of the screen. - When a popup appears, click the Delete button to proceed with deletion.
 
When deleting a Policy, it is automatically separated from web application resources and roles where that policy was assigned.
Editing Policy Code

- Navigate to Administrator > Web Apps > Web App Access Control > Policies menu.
 - Click the Policy to edit from the list to go to the detailed page.
 - Click the Go to Editor Mode button in the top right of the Detail tab.
 - In the code editing screen, you can use the following features:
- Directly edit policy code in YAML format in the left code editor
 - Edit Spec functionality in the right panel:
- Edit Spec - Allow: Add/edit allow rules
- Add Resources: Add resource button
 - Set Conditions: Set conditions button
 
 - Edit Spec - Deny: Add/edit deny rules
- Add Resources: Add resource button
 
 - Check code errors and tips in the bottom Errors(0) / Tips(1) tabs
 
 - Edit Spec - Allow: Add/edit allow rules
 
 - After editing is complete, click the Save Changes button to save.
 - Click the Cancel button to cancel editing.
 
Last updated on