You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

VBCS Security Roles Issue

Accepted answer
11
Views
5
Comments
edited Sep 6, 2021 5:24AM in Visual Builder Studio 5 comments

Summary

VBCS Security Roles Issue

Content

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!