277c64bed7
The CLI error messages for users with reader role were not clear to the operator and this change fixes this. Test Plan: PASS: In an AIO-SX with this change present, create a new openstack user with reader role and through this user execute the commands: fm alarm-list fm alarm-delete <uuid> fm event-suppress --alarm_id <alarm_id> and check that the "alarm-list" command is executed without errors and that the error message of the other commands changes from: "HTTP Client Error (HTTP 403) (Request-ID: req-<req_id>)" to: "Error: Forbidden." Story: 2010149 Task: 46620 Signed-off-by: Joao Victor Portal <Joao.VictorPortal@windriver.com> Change-Id: I45007a7f5319ef0a0238a07d671a859b5081660a |
||
---|---|---|
.. | ||
fmclient | ||
tools | ||
LICENSE | ||
setup.cfg | ||
setup.py |