Repository navigation
Introduce meta authContext - #7875
Conversation
There was a problem hiding this comment.
Haven't tested and would be better with https://dev.to/ayc0/typescript-49-satisfies-operator-1e4i but alas ... better than before!
I especially like the very useful runtime/deprecation warnings!
|
When this is merged, please add an entry here: #7338 Might be worth pinning that issue... |
It was pinned when I created it in the first place (see screenshot)... thanks for re-pinning. And yes, of course, the deprecation info needs to go into the ticket. :-) |
diocas
left a comment
There was a problem hiding this comment.
Does what is really necessary for now (even if the presentation is inconsistent: see my comment in the original issue).
785eedc to
8621d05
Compare
|
@dschmidt I re-requested your review, because I added a substantial amount of code... added |
dschmidt
left a comment
There was a problem hiding this comment.
Codewise the PR seems completely fine to me, I'm just not so enthusiastic about exposing the pageLayout setting. Especially the loading layout seems a bit weird, but then again it's probably not harmful
You're right, I didn't remember our decision to force all apps into the |
Introduce meta.authContext to define which kind of context is required on a route. This gets evaluated for target routes and (if present) context routes. The old meta.auth boolean has been deprecated. For now it gets transformed into the respective meta.authContext value.
All routes in the web mono repo now have a meta.authContext defined.
2e5256f to
b27bc11
Compare
|
Updated the PR to not expose/use the |
|
SonarCloud Quality Gate failed. |









Description
This PR introduces a
meta.authContextprop on routes so that we give fine grained control to extension developers which kind of auth context they want to require from ownCloud Web.Related Issue
Types of changes
Checklist: