Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/24/2024 06:19 AM
Hi,
we have customized the roles/adGroup/create.gsp & roles/azureADGroup/create.gsp pages for EntraID and AD group creation.
We would like to use the risk field in Roles when creating the group however by default only the
Sox Critical, Sys Critical, Privileged and Confidentiality are available in the Risk and Compliance section.
I tried configuring the .gsp file as below but this doesn't change the risk field when checking it from Roles after creation:
<div class="m-portlet__head riskAndCompliance">
<h3 class="m-portlet__head-text">Risk and Compliance</h3>
</div>
<div class="row riskAndCompliance">
<div class="col-md-6">
<div class="form-group">
<label class="control-label col-sm-4">
<g:message code="Risk" editable="true"/>
</label>
<div class="col-sm-8 riskAndCompliance">
<select name="Risk" class="select2_category form-control">
<option value="2" ${rolesInstance.risk == 2 ? 'selected' : ''}>Low</option>
<option value="3" ${rolesInstance.risk == 3 ? 'selected' : ''}>Medium</option>
<option value="4" ${rolesInstance.risk == 4 ? 'selected' : ''}>High</option>
<option value="5" ${rolesInstance.risk == 5 ? 'selected' : ''}>Critical</option>
</select>
</div>
</div>
</div>
</div>
Any reason why this might not be working?
Best regards,
Roni
09/24/2024 06:20 AM
09/24/2024 06:22 AM
Hi,
yes I have modified the page quite a bit, the customer doesn't want to have those other Risk and Compliance fields there, only risk.
09/24/2024 06:27 AM
Comment the code or remove the lines
<!-- <option value="3" ${rolesInstance.risk == 3 ? 'selected' : ''}>Medium</option> -->
<!-- <option value="4" ${rolesInstance.risk == 4 ? 'selected' : ''}>High</option> -->
<!-- <option value="5" ${rolesInstance.risk == 5 ? 'selected' : ''}>Critical</option> -->