|
|
|
|
|
by zmxz
1031 days ago
|
|
Why would the elements HAVE to be loaded for different roles? You're talking as if every single client-side app approaches authorization and authentication the same way and that's just not true. There's no attack surface here at all, the only issue with most client-side apps and interaction with server comes from CORS and devs copypasting solutions from SO to get rid of the warning, thus creating the attack surface. The choices related to displaying appropriate elements based on current user's role that's tied to entire logic of the app has literally zero to do with security. |
|