bernardodemarco commented on issue #10391:
URL: https://github.com/apache/cloudstack/issues/10391#issuecomment-2659574780

   @DaanHoogland, I don't think that's the case here.
   
   When the administrator access an account's page and selects the `View 
Templates` button, in my point of view, it would be expected the UI to return 
all templates registered by the given account. If someone did this on purpose, 
then I think that the URL that the UI redirects the user to would not contain 
the `domainid` and `account` query strings, right?
   
   When those fields are defined but `templatefilter` is not, then the UI sends 
by default the request to the API with `templateFilter` set to `all`. As a 
consequence of that, all templates are returned, and the administrator is not 
able to filter templates by accounts through the UI.
   
   It is important to note that the root admin will still continue seeing all 
templates by default when directly accessing the Templates page. This filtering 
will only be performed when the `View Templates` button of an account's page is 
selected. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to