It's all about the answers!

Ask a question

How to add read only queries?


Allen Earnest (6211937) | asked Feb 08 '16, 4:48 p.m.
edited Feb 09 '16, 8:23 a.m. by Krzysztof Ka┼║mierczyk (7.4k35699)
 Greetings All

We have a popular project area with some standard queries that we have set up.  We want these queries to remain static for the users.

Problem is that some users will go in and modify/save some of these queries that we want to be read-only.

There is no way (that we know of) to restrict query access by role.  We could shut it down for everyone except administrators, but we would prefer for people to be able to modify a query and do a "save copy" so that they can have their own modified query.  We just don't want them to modify our gold copies of our shared queries.

Is there any way to lock down our static queries, but still allow users to create their own by using the "save copy" feature?

We are on Rational 6.0.1.

Thanks for any replies...

Accepted answer


permanent link
Donald Nong (14.5k314) | answered Feb 08 '16, 8:00 p.m.
If you add the queries as "predefined" queries, no one can modify them. You will need to do it within the RTC Eclipse client, Process Configuration > Project Configuration > Configuration Data > Work Items > Predefined Queries.

If you want to modify such queries, you can remove them from the predefined queries category temporarily, and they will appear under "My Queries" for the query creator.
Allen Earnest selected this answer as the correct answer

Comments
Allen Earnest commented Feb 09 '16, 10:43 a.m.

Donald... thanks very much!

Your answer


Register or to post your answer.