mirror of
https://github.com/flarum/framework.git
synced 2025-02-28 02:05:26 +08:00

Previously if a parent tag was restricted but none of its sub-tags were, the sub-tags would be visible and the parent tag would be loaded in the tag list as a result. This adds permission logic so that sub-tags automatically assume the permissions of their parent as a minimum. Fixes flarum/core#833