Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am working on angular app in which we have to maintain user rights. Issue is that sometimes side menu show icons (which are basically routes to different pages) and sometimes side menu do not show icons that must be there. Let's say I have three or more Ids with different screen rights. When I open browser for the first time and Login with one Id menu is generated just fine and there is no less or no more icons (routes to pages). I logout and Login with different Id then either of the following happens: 1. Side menu have icons from the previous user rights 2. Or it shows icons for both of user. 
User Rights are fetched from database and are rendered with for loop in html in angular.


What I have tried:

I have been searching the web for this issue but found nothing or I would say I couldn't reach any solution. Please help me its my first project.
Posted
Comments
Richard Deeming 21-Mar-22 6:23am    
There's a secret error somewhere in your secret code. You need to fix that.

Seriously, how do you expect anyone to be able to help you fix an error we can't see in code we can't see running on a system we can't access?

Click the green "Improve question" link and update your question to include the relevant parts of your code, the full details of any errors, and a clear and precise description of the problem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900