Group membership and inheritance

I just want to check something that I can't find about nesting groups in the manuals, looking at http://manuals.matrix.squizsuite.net/users-and-permissions/chapters/user-groups in particular.


We're used to group inheritance working such that user X, whose a member of group B, which is itself a member of group A has permissions based on their membership in group B and through inheritance permissions from group A. E.g. group structure like



A (user-group)

  • B (user-group)

    ++ X (user linked into group B)



    I have a recollection that Squiz Matrix doesn't do the inheritance part, so if group A is given access to something, user X doesn't have access unless we link them in twice - both to group B and group A.



    Is that right?

[quote]
I just want to check something that I can't find about nesting groups in the manuals, looking at http://manuals.matrix.squizsuite.net/users-and-permissions/chapters/user-groups in particular.



We're used to group inheritance working such that user X, whose a member of group B, which is itself a member of group A has permissions based on their membership in group B and through inheritance permissions from group A. E.g. group structure like



A (user-group)

  • B (user-group)

    ++ X (user linked into group B)



    I have a recollection that Squiz Matrix doesn't do the inheritance part, so if group A is given access to something, user X doesn't have access unless we link them in twice - both to group B and group A.



    Is that right?

    [/quote]



    Hi Douglas,

    It doesn't seem to be hope you explained above. If the user is linked only under Group B and if some asset, lets standard page is granting permission to Group A, user X will still have access on it. This is mainly because while getting the parent user_groups for this particular user we do not restrict the tree depth (minimum or maximum). It gets all the parent user_groups which includes Group A and Group B.



    Ash