ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
4.11.1 build
OS / ENVIRONMENT
SUMMARY
An error message pops up for all (non-admin) users saying
"Filter all can be specified by admin only"
when using the add vm instance wizard at the 'Disk Offering' stage.
searched for "Filter can be specified by admin only" and found that QueryManagerImpl.java has that message and that it had been modified by this recent commit:
https://github.com/apache/cloudstack/commit/8b09620d777805bdbb59255ef722e0a6ddbb85b8#commitcomment-29087677
STEPS TO REPRODUCE
Create a non-admin user. Log in as that user. try to create a new VM instance using the wizard.
EXPECTED RESULTS
more through wizard without error messages, when entering Disk Offering selection page.
ACTUAL RESULTS

Using developer tools we can see the following response:
{"listtemplatesresponse":{"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Filter all can be specified by admin only"}}