Add check for permissions for every component