Also @arunpatidar is correct as per your code make sure you not missing configurations.
configurationPolicy = ConfigurationPolicy.REQUIRE
@shabarish - Any User/Group access restriction in publish should be based on CUG concept nothing to deals with everyone group.
If you are deploying using maven then you can update the core component version in main pom.xml otherwise you need to install core components package via localhost:4502/crx/packmgr
Check User belongs to which Group -> Check Group Permission from User/Group Console to Identify.