horizon/horizon/static/framework
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
..
conf Use items per page setting on Angular tables 2018-04-10 11:10:46 +04:00
util Merge "Add Angular keystone user creation action" 2018-01-09 05:35:09 +00:00
widgets Avoid forced logout when 403 error encountered 2020-01-17 13:52:26 +00:00
.eslintrc Add selective ESLint rule activation for Horizon Legacy JS 2015-07-08 17:06:15 -07:00
framework.module.js Avoid forced logout when 403 error encountered 2020-01-17 13:52:26 +00:00
framework.module.spec.js Avoid forced logout when 403 error encountered 2020-01-17 13:52:26 +00:00
framework.scss ngReorg - create 'widgets' module 2015-05-19 09:55:58 -06:00