LUN-1116: Added functionality for the rule that users cand see
only current site's folders when editing pages.