horizon/horizon/static/framework/widgets
Gloria Gu a2acb3e5c1 Avoid forced logout when 403 error encountered
Before this change when a 403 error was encountered, such as failure to
have the permission to perform an operation, the user would get logged
out from UI pages written in the AngularJS framework. For example, if an
admin user lacks the get_project permission and tries to access the
images page, project->compute->images, the 403 will forcibly log out
the user.

This change keeps the user logged in when a 403 error is encountered and
displays an error message. The change only affects AngularJS pages.

Change-Id: I10a6eeb96dd1418449e1d15b1a3869cd4de9cafa
Closes-bug: #1840844
(cherry picked from commit ab0e96df95)
(cherry picked from commit 81740d310f)
2020-01-17 13:52:26 +00:00
..
action-list Add create and import key pair actions 2017-12-14 15:44:44 +09:00
charts Add charts to show volume quotas on Angular launch instance modal 2017-06-11 21:38:35 -07:00
contenteditable Schema Form Developer Panel 2017-02-22 11:01:02 +11:00
details Remove deprecated scope handling 2017-11-01 14:51:50 +09:00
form Add Angular keystone user creation action 2017-12-13 12:13:07 +09:00
headers Enable no-multi-spaces 2015-11-16 18:04:16 -08:00
help-panel Add Angular Schema Form 2016-08-04 16:53:41 +00:00
load-edit Add create and import key pair actions 2017-12-14 15:44:44 +09:00
magic-search Merge "Added Server-side filtering for swift UI" 2017-03-29 05:24:49 +00:00
metadata Disable metadata switch if only one item is available 2017-11-13 11:14:45 +00:00
modal Merge "Remove deprecated scope handling" 2017-11-17 06:04:36 +00:00
modal-wait-spinner Horizon Spinner/Loader should inherit from theme 2017-04-21 11:15:52 -07:00
panel Adding resource panel and table features 2016-06-14 11:12:08 -06:00
property In drawer, handle 'priority' attribute conversely against row 2017-03-17 10:13:12 +00:00
table Use items per page setting on Angular tables 2018-04-10 11:10:46 +04:00
toast Added error msg when gets redirect to login page 2017-07-05 16:24:20 -07:00
transfer-table transfer-table: Rethink CHANGED message handler 2017-10-26 13:05:05 +02:00
wizard Avoid forced logout when 403 error encountered 2020-01-17 13:52:26 +00:00
widgets.module.js Schema Form Developer Panel 2017-02-22 11:01:02 +11:00
widgets.module.spec.js Clean up spec files in horizon framework directory 2015-11-03 07:28:56 -07:00
widgets.scss Horizon Spinner/Loader should inherit from theme 2017-04-21 11:15:52 -07:00