It's all about the answers!

Ask a question

Permissions not working for attributes of type stringlist after application of scripts

keerti Sajjan (134) | asked Jun 06 '18, 3:19 a.m.
edited Jun 06 '18, 4:16 a.m. by Ralph Schoon (63.2k33646)


In RTC, for the attributes of type Stringlist, scripts have been applied, but the permissions applied to the attributes are not working properly after script application. Scripts are used for populating values in the attributes.
please help me in finding what might be the issue.

Ralph Schoon commented Jun 06 '18, 4:16 a.m.

keerti Sajjan commented Jun 06 '18, 8:30 a.m.

Suppose there is an attribute called "Country" of type stringlist, script has been applied to it to show all the countries. Also for ex, for Developer role, permission to modify the Country attribute is not given, still when the user with developer role modifies the value of Country attribute, error is not thrown, it is getting modified. Getting this issue after the application of script to the attribute. Not working for RTC version 6.0.2 as well as 6.0.5

Accepted answer

permanent link
Ralph Schoon (63.2k33646) | answered Jun 06 '18, 9:18 a.m.

The description is still not very helpful and lacks tons of information. Anyway, scripts don't override any permissions. Disable the scripts and check if the permissions behave as expected. If not, fix your permissions e.g. realize that users have multiple roles (even if a user only has the Developer role, they also always have the Everyone role).
If the permissions work, try to understand what your script is doing wrong and why.

keerti Sajjan selected this answer as the correct answer

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.