Especially for single page applications (which are rendered on the client side):
single page applications
Data from and (with)in clients can't and shouldn't be trusted as a security measurement.
Always rely on proper permission management on the server side