Unable to set Read/Write Permissions in Variable Editor

DBrown
Giga Contributor

Background:

Company policy states that all variable inputs must be Read-Only in the RITM record.

Normal Solution:

In Variable editor, set Permission for Write to 'admin' role or similar

Issue:

As an admin, I am unable to modify the Read or Write Permissions for any variable in the variable editor.  When I attempt to move a role from the "Available" options to the "Selected" box, nothing moves.  I am able to modify the Create Permissions. 

Question:

What could be preventing me from modifying these permissions, even as an admin?  I've checked business rules and ACLs, but we have almost 10k ACLs, so I may have missed something.

See attached screenshot.

 

1 ACCEPTED SOLUTION

JennyHu
Tera Guru
Tera Guru

Try setting the "Write roles" in List View for the variables, and see if that works?

Navigate to Your Variables List, include "Write roles" as one of the columns, and then set "admin".

View solution in original post

11 REPLIES 11

Brian Lancaster
Tera Sage

I'm not sure why this is happening but I have seen problem in the past using write roles.  You may be better off using an OnLoad client script on the sc_req_item table to make the variable editor read only.

function onLoad() {
	//Type appropriate comment here, and begin script below
	
	
	var variables = document.getElementById("variable_map").querySelectorAll("item");
	
	for(var i = 0; i < variables.length; i++) {
		var variable = variables[i].getAttribute("qname");
		g_form.setReadOnly("variables."+ variable, true);
	}
	
}

Hi Brian,

That's very helpful for most cases.  Unfortunately, I'm not sure if would be viable for mine; I'll look at implementing it, but I have quite a few instances outside of that one table where one or more variables might need to be edited.

Has anyone else experienced this issue?

Actually I am seeing this issue also.  I wonder if it is a bug in London.

Brian Lancaster
Tera Sage

Also the place to check for ACLs with these field would be on the item_option_new table.  See if there is anything specific to the write roles field that does not have admin override checked.  OOB there should not be any such ACLs.