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

Role based UI security in VBCS

Received Response
28
Views
7
Comments
edited Jul 20, 2021 3:43PM in Visual Builder 7 comments

Summary

Role based UI security in VBCS

Content

  1. I created mfgrole in the application settings and assigned my user to it.
2. In the page, I implemented below oj-bind-if to see it working. As per the expectation, condition is true ( as user exits in the role)..
it should not display below message...... THis is NOT working - [[!$application.user.roles.mfgrole]]
 <oj-bind-if test="[[!$application.user.roles.mfgrole]]">
        <oj-highlight-text text=" You do not have access the application, contact your system administrator"
          match-text="Highlight" style="font-weight: bold;font-size:3rem;"></oj-highlight-text>
      </oj-bind-if>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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