rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
442 stars 243 forks source link

Removal of authentication middleware from Rancher Dashboard #8627

Open aalves08 opened 1 year ago

aalves08 commented 1 year ago

Removal of authentication middleware from Rancher Dashboard is, hopefully, an important part of the simplification of the initialisation procedure for Rancher Dashboard. Should be a good issue to tackle before the reorder of the loading steps for extensions and most of the code that runs on the authentication middleware, imo, should run on the beforeEach route guard.

A tech debt issue should be created to tackle the optimisation of the load procedure that happens on this new logic (some of the stuff might be initialised on a higher level and only run once).

The ideia was to cupcake this so that we don't introduce too many changes at once in the codebase for such a delicate area.

aalves08 commented 1 year ago

@richard-cox @gaktive changing milestone for next3 and moving to Backlog since this is a big change with multiple implications on the product. Let's see what we will do with this work for the following (next3) release.

aalves08 commented 6 months ago

Update: There's an initiative to remove the concept of layouts https://github.com/rancher/dashboard/pull/10084 (which came from Nuxt). Maybe it's worth revisiting this after that is finalised