VBCS Security Roles Issue
Summary
VBCS Security Roles IssueContent
We have attached four images in page and each image is surrounded with if bind condition as follows:
<oj-bind-if
test='[[
$application.user.roles[0] === "MIL_WAKIL_PORT_MASTER_-_ADMIN" ||
$application.user.roles[0] === "MIL_WAKIL_PORT_MASTER_-_VIEW"
]]'>
<oj-validation-group>
<img :src="{{ $flow.path + 'resources/images/ports_1.jpg' }}" style="object-position: 30%30%;" width="250" height="150" on-click="[[$listeners.imgClick]]" alt="Port Master" class="oj-flex-item oj-sm-flex-initial">
</oj-validation-group>
<oj-label class="oj-flex-item oj-sm-flex-initial" style="text-align:center">Form Name 1</oj-label>
</oj-bind-if>
We have created multiple roles which are configured with IDCS as displayed below
- MIL WAKIL PORT MASTER – ADMIN
- MIL WAKIL PORT MASTER - VIEW
0