fix(console): restore url after state handling, remove user metadata without user.write permission (#4136)

* metadata role check

* fix: restore url after handling state

* hide metadata if has user not user.write

* allow metadata read

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Max Peintner
2022-08-08 13:03:28 +00:00
committed by GitHub
co-authored by Livio Spring
parent d4d39dbd80
commit 075fd1dfe6
2 changed files with 10 additions and 3 deletions
@@ -28,8 +28,7 @@ export class StatehandlerProcessorServiceImpl implements StatehandlerProcessorSe
return;
} else {
sessionStorage.removeItem(state);
// window.location.replace(window.location.origin + url);
this.router.navigate([url]);
this.router.navigateByUrl(url);
}
}
}