Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

All users can modify predefined queries.

A user can modifiy an existing predefined query if he just remove a filter, a field or part of the name. The permissions error message only appears when trying to add elements to the query or characters to the summary. Such permission message appears to everyone, even admins. On the contrary, every user with the permission "edit query" can edit predefined queries in the fashion described above.

Also, how can an admin remove permissions to edit some queries that are shared with all the project area members if not by making those queries predefined?

Thanks.

1 vote



One answer

Permanent link
The first part seems to be a statement. Any user can edit any query as far as I am aware. They can also run the edited questions. However, they can not save the query if the don't have the required permission, especially for shared queries. They can save the query as personal query if they have that permission.

There is no way to remove the ability to edit queries. RTC is designed to check if a save is permitted or not. Even if a query is predefined, it can still be modified - you can't just save the modification to the same query name if you don't have the permissions.



0 votes

Comments

My problem is that predefined queries (queries that belong to the group in "Proyect Configuration > Configuration Data > Work Items > Predefined Queries" in the proccess configuration tab of the RTC client for eclipse) can be modified by users even though it should advise that the user does not have permission to modify them.

The message, when the query belongs to the predefined queries groups is:
"Predefined Queries can only be modified in the process configuration".

It is true when adding elements to the query, but not when removing a filter or a field or part of the name.

Maybe I don't get it, but as mentioned above any user that can view a query and can modify it. They can play around with it and they can run it. The modification is temporary - in memory of the browser/client. RTC does not care or check permissions while you do that.

RTC checks permissions only when you do a save on the object. You can not save a predefined query as the same query. However, you can save a private copy.

As far as my tests went you can not save modifications to predefined queries at all.

You can

  1. provide more detailed steps to what you see, to allow us to follow your argument.
  2. File an enhancement request r a defect, If you disagree with how RTC handles things of think there is a bug

This is the route where the predefined queries are selected (Excuse me for the spanish client).
  Predefined queries section Spanish RTC
I can modify these queries filters, I'll show you one example with a query namend "A - PIP - Defectos QA IBMH":
Original Query

Changed name to "A - PIP - Defectos QA IBM". Error shown.
Normal error when modifying query.

Changed name to "A - PIP - Defects Changed Name QA IBMH" advise message not shown.
Predefined query permits changing the summary a lot

I hoped it was only for the summary field, but is every query parameter. Of course, there are some changes that does not permit, just I dont'n know for real what can o can't do.
This happens with a predefined query that I have selected as predefined in the section shown in then first image.

Can you save the change?

Anyway, if you disagree with what happens, please file a defect or enhancement request.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 201
× 13

Question asked: Sep 01 '14, 6:35 p.m.

Question was seen: 6,049 times

Last updated: Sep 24 '14, 1:54 a.m.

Confirmation Cancel Confirm