1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed test permissions not working as expected

Discussion in 'Resolved Bug Reports' started by Mr Lucky, Jul 21, 2016.

  1. Mr Lucky

    Mr Lucky Well-Known Member

    I have a forum set up that allows users to see only their own threads.

    The permissions inherit everything from the standard registered user permissions apart from

    View Threads by others = Revoke

    The users can see their own threads, but when I test the permission of that user, then I cannot see their threads in that forum
  2. Liam W

    Liam W Well-Known Member

    That's correct. The permissions apply to you, so you'll be able to see your own threads because the permission stops you from seeing others threads.

  3. Chris D

    Chris D XenForo Developer Staff Member

    This is basically expected due to the limitations of the Test Permissions system in how it overlays someone else's permissions on top of yours, and the fact that you're still logged in as you, with someone else's permissions applied.

    Use the Analyze Permissions feature for a clearer and more accurate view of how permissions are being applied.
  4. Mr Lucky

    Mr Lucky Well-Known Member

    Surely the permissions apply to the user whose test permissions I am looking at
  5. Liam W

    Liam W Well-Known Member

    The permissions from that user are associated with your account, but you're not that user.
  6. Mr Lucky

    Mr Lucky Well-Known Member

    I thought with test permissions, you are supposed to see what that user sees.

    This is not as useful when you want to actually see the what the user is seeing
  7. Mike

    Mike XenForo Developer Staff Member

    If you want to see exactly what a user sees, the only way is logging in as them. There are a lot of variables beyond permissions that relate to this.

    This behavior is explicitly noted in the test permissions description:
  8. Mr Lucky

    Mr Lucky Well-Known Member

    Maybe I am not explaining very well what I mean.

    When clicking on Test permissions, it says:

    The permission tester allows you to view the forum with the permissions of the specified user. You will still be logged in as yourself, but your permissions will show you what is visible for this user.

    This implies that I will see what the user sees.

    The part quoted above also implies this.

    So therefore I do expect to see what the user sees, and in may instances I do, but just not in this case so I think the feature is described incorrectly if it doesn't so what it says it does.[/QUOTE]

Share This Page