Added possibility to check if user can assign module so it can access and modules parts.