Skip to content

Non-admin User receives an error message when entering disk offering section of create instance wizard #2666

@PaulAngus

Description

@PaulAngus
ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI - Add instance wizard
CLOUDSTACK VERSION
4.11.1
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
![image](https://user-images.githubusercontent.com/4810220/40418282-c9cdbb0e-5e79-11e8-9ba5-c33253de10d4.png)


Using developer tools we can see the following response:

{"listtemplatesresponse":{"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Filter all can be specified by admin only"}}

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions