web applications - JavaScript ExtJS - Access Handling with Privileges -


I'm planning a webapp to use ExtJs to create my frontend and ASP webservice for backend. Communication through Json.

Although there is a big question in my mind, I have different user controls available for different types of people. Just like a Superior can see this button and so on. My privileges have been applied in my own backend, but what is the best way to see which buttons I should display and what should not be seen? I can not send a request for only one control which can be used by everyone I do not think it will be Fosi: D ..

If you have experience with this issue, please tell me!

I have worked more than once on this issue, I personally have roles in the customer-side I also want to implement some kind of manager who has the current role and privilege that comes with that role. In your opinion, you can simply ask the manager that the current user is authorized to see special controls.

I normally have all the different roles in any type of enum-like structure (basically just a javascript array: P)

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

jsp - Google line chart x-axis shrinks on transition -

java - Reaching JTextField in a DocumentListener -