beerForo
Well-known member
- Affected version
- 2.1.5
I am following XF logic of:
No + Yes = Yes
No + Never = Never
Yes + Never = Never
But "Inherit" is not working properly in one situation.
Scenario: A member in primary group Registered is promoted to secondary group Promoted after one post. This post is in the only child node they should see (an Introductions forum), all others they should not. However since they are in both groups after, the No is winning over Inherit so all members in any secondary groups cannot see them unless you go in and check Yes for each group, each node. And Inherit should work.
Example:
At the group level I have both groups (Registered and Promoted) set to View Nodes, Yes. Okay now node permissions:
Category #1 (I have Registered set to Yes, and Promoted set to Yes, also tried Inherit since group is Yes.)
Child #1 (I have Registered set to No, Promoted to Inherit so it inherits the Yes from the parent (category), but the permissions analyzer result is No.
Example A
Permissions analyzer:
View node
No (Details)
Registered Yes
Promoted Yes
-- Child #1 - Registered No
END
(Does not show Promoted's permission here when on Inherit, and is not inheriting the Yes from Cat #1 or the group level, tried both.)
-- Child #1 - Promoted Inherited (Yes) this line is missing, I simply typed it so you could see.
It doesn't list the Promoted group in the child, but I have it set to Inherit, so it would be inhering the Yes from the parent. The only way I can get it to work is to set the child to Yes for the group Promoted, but Inherit should work.
Example B
Permissions analyzer:
View node
Yes (Details)
Registered Yes
Promoted Yes
-- Child #1 - Registered No
-- Child #1 - Promoted Yes (Why doesn't Inherit work here since the parent is Yes?)
Summary: Example A should result in Yes, since the child (forum) node should be inheriting the Yes from the parent (category) node.
So for those with a lot of nodes and groups this is a huge issue, since every group has Registered as the primary... so instead of inheriting (default value) a Yes from a top category we have to go through each group in each child node and say Yes.
No + Yes = Yes
No + Never = Never
Yes + Never = Never
But "Inherit" is not working properly in one situation.
Scenario: A member in primary group Registered is promoted to secondary group Promoted after one post. This post is in the only child node they should see (an Introductions forum), all others they should not. However since they are in both groups after, the No is winning over Inherit so all members in any secondary groups cannot see them unless you go in and check Yes for each group, each node. And Inherit should work.
Example:
At the group level I have both groups (Registered and Promoted) set to View Nodes, Yes. Okay now node permissions:
Category #1 (I have Registered set to Yes, and Promoted set to Yes, also tried Inherit since group is Yes.)
Child #1 (I have Registered set to No, Promoted to Inherit so it inherits the Yes from the parent (category), but the permissions analyzer result is No.
Example A
Permissions analyzer:
View node
No (Details)
Registered Yes
Promoted Yes
-- Child #1 - Registered No
END
(Does not show Promoted's permission here when on Inherit, and is not inheriting the Yes from Cat #1 or the group level, tried both.)
-- Child #1 - Promoted Inherited (Yes) this line is missing, I simply typed it so you could see.
It doesn't list the Promoted group in the child, but I have it set to Inherit, so it would be inhering the Yes from the parent. The only way I can get it to work is to set the child to Yes for the group Promoted, but Inherit should work.
Example B
Permissions analyzer:
View node
Yes (Details)
Registered Yes
Promoted Yes
-- Child #1 - Registered No
-- Child #1 - Promoted Yes (Why doesn't Inherit work here since the parent is Yes?)
Summary: Example A should result in Yes, since the child (forum) node should be inheriting the Yes from the parent (category) node.
So for those with a lot of nodes and groups this is a huge issue, since every group has Registered as the primary... so instead of inheriting (default value) a Yes from a top category we have to go through each group in each child node and say Yes.
Last edited: