centreon-archived icon indicating copy to clipboard operation
centreon-archived copied to clipboard

feat: MON-15009 create authentication denied route

Open JKancel opened this issue 3 years ago • 2 comments

Description

This PR introduces a new condition when trying to reach the Centreon cloud. If your license is invalid, you should see the rescue page instead of login page.

Type of change

  • [ ] Patch fixing an issue (non-breaking change)
  • [x] New functionality (non-breaking change)
  • [ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

  • [ ] 21.04.x
  • [ ] 21.10.x
  • [ ] 22.04.x
  • [x] 22.10.x (master)

How this pull request can be tested ?

  • Load centreon page in cloud context with an expired license,
  • You should be redirected to fallback page instead of login

Checklist

Community contributors & Centreon team

  • [ ] I have followed the coding style guidelines provided by Centreon
  • [ ] I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • [ ] I have commented my code, especially hard-to-understand areas of the PR.
  • [ ] I have rebased my development branch on the base branch (master, maintenance).

JKancel avatar Sep 14 '22 18:09 JKancel

Currently there is a problem with the height of the page. The fallback component height is defined to 100%. But that not the case of the root div.

JKancel avatar Sep 14 '22 18:09 JKancel