Skip to content

Account Details - "View Templates" Button Does Not Filter #10391

@scottsignal

Description

@scottsignal

problem

Clicking on View Templates from Account Details as Root Admin does not filter correctly by Domain/Account.

Image

Expecting to only see 2 templates:
Image

versions

4.19.1.3 & 4.20.0.0
GUI
KVM

The steps to reproduce the bug

  1. Logged in as Root Admin click on Accounts
  2. Choose an account with the type DomainAdmin that is in a Sub-Domain (Note: this Sub-Domain should have its own templates)
  3. Click on the View Templates Button
  4. Observe the returned results are not for just that account. There is no filtering done.
    ...

What to do about it?

It appears that templatefilter is a required field for ListTemplates. If I add &templatefilter=self to my URL, the filtering then works correctly.

Image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions