Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I have a menu with a user group assigned to each menu item as follows..
There are no users in the test group, and only a few users in the tampa group. However, I am still able to see these menu items in the UI when I sign in. I have tried non-admin user's as well as admin. All users can still see these menu items. What is wrong here? Shouldn't these items be restricted to the user within these groups?
This is version 9.0.4
Solved! Go to Solution.
could you call
result = Users["yourTestUser"].GetGroups()
in a custom service and check the result if only the expected groups are present? just to make sure that its not inheriting groups from somewhere.
How are you referencing this menu entity in the mashup? In a menu widget directly referencing the menu?
That is correct.
okay. It should be working like this. Not sure exactly if Admin will see all entries anyway (I assume so) - but you mentioned you checked with none admins.
I am not sure if there maybe an issue in the TWX version you reference.
But to make sure: Could you validate again that you reference the correct menu? As I also already debugged some stuff but noticed that I checked on the wrong entitiy.
I am referencing the correct menu. I even unbound it and rebound it to make sure it wasn't a weird bug in TWX. My test user that I just created doesn't have any permissions and is not associated with any groups, yet this user still sees the menu.
could you call
result = Users["yourTestUser"].GetGroups()
in a custom service and check the result if only the expected groups are present? just to make sure that its not inheriting groups from somewhere.
This was the issue. The user is a part of a user group called users when created. However, users is in the administrator user group. Thanks!
You may try checking permission assigned to user on particular entity.
Also, on individual entity check the permission and it should not be everyone.
Try creating a new test user and make sure, it should not be part of any user group which might have admin rights.
On project level, add visibility only to Org.
Thanks!
In case it is permissions, have you checked the application log for any messages in that regard?
No messages on the application logs.
I have done done all of these things already. Thank you. I have a created a new user with no permissions/groups and this user still sees the menu.
Saw someone post this somewhere else: 'check actual user permissions via "Access Report" feature on the mashup' maybe that will help shed some light.
AccessReport will not be much help as it will only report on the "menu" entity but not on the items in the menu itself.
Edit: I am also not sure since which TWX version the report exists. 9.0.x is already quite old.