Happy Evening one and all,
I was trying to explore the answer to below query but no luck, Have successfully completed the build of issue manager. Now, this was accessed by two groups of people. Group/user types are stored in the session.
I am not sure where to write the restriction? PHP or in JS, I thought it should be JS
Please refer Exhibit 1 the exhibit enclosed, any issues created by BALA should only be read-only for AUGUSTIN and vice versa. All I am looking is a syntax to control this access restriction using "User name" all the usernames are stored in the session.
Following is the code I use to capture username inside JS, but I am not sure on how to write read-only access to set specific column based on the user.
Below code to capture username in the Editor, read-only mode
{
"label": "Issue Raised by:",
"name": "iss_raised_by",
"type": "readonly",
"def": username
} ,
Exhibit 1