fix bug with restrictions for external and staff
fix bug with restrictions for external and staff

TheLaughingGod1986/web-enterprise-system,TheLaughingGod1986/web-enterprise-system,TheLaughingGod1986/web-enterprise-system