Freelancer
Well-known member
I have a "Trial Member" user group that is not allowed to view a certain child category within the XFMG.
They are later added to the User Group that can view the category once they are out of trial, by a trick with "User Group Promotions". So once they end their "Trial Period", the admin can set them to "Clear" in a custom drop down user field and the user group promotion automatically adds them to a secondary user group called "Can View Category" which is then allowed to view the child category (this is not possible in an other way due to the nature of the XFMG permission system).
Now, if you have the permissions you can view every media item which is displayed on the next higher category parent level up to XFMG Index, correct? If you do not have the category permissions you should not see the media item in the next higher category parent level, right?
The bug: For Media Index the above works, no media items from restricted child categories are shown there. But when a user with restricted rights visits a child category that is above the level child category which is restricted (but below media index), it still shows the media items to him.
Is this a bug or a flaw because of the reverse user group promotion when the "trial" is removed?
Sorry if this sounds really crude as description. I tried my best to articulate it. I also tested this with only the XF Core, Default Style and XFMG add-on active. No other add-ons were active.
They are later added to the User Group that can view the category once they are out of trial, by a trick with "User Group Promotions". So once they end their "Trial Period", the admin can set them to "Clear" in a custom drop down user field and the user group promotion automatically adds them to a secondary user group called "Can View Category" which is then allowed to view the child category (this is not possible in an other way due to the nature of the XFMG permission system).
Now, if you have the permissions you can view every media item which is displayed on the next higher category parent level up to XFMG Index, correct? If you do not have the category permissions you should not see the media item in the next higher category parent level, right?
The bug: For Media Index the above works, no media items from restricted child categories are shown there. But when a user with restricted rights visits a child category that is above the level child category which is restricted (but below media index), it still shows the media items to him.
Is this a bug or a flaw because of the reverse user group promotion when the "trial" is removed?
Sorry if this sounds really crude as description. I tried my best to articulate it. I also tested this with only the XF Core, Default Style and XFMG add-on active. No other add-ons were active.
Last edited: