Comment

Comment by randomdev3

UI only reacts to the responses from backend. Of course it has some amount of logic not to show things user doesn't have permission to do anyway.

Regarding the error handling, just return response and show the error. For example if trying to load a dashboard and you get a 403, just display an error.

parent randomdev3 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton