We have created a custom web template for SharePoint 2016 . When we are creating a site from the same template , all the access are working fine . After creating the subsite from the same template and if we break the site inheritance of subsite and give any user access on the subsite , user is not able to access the subsite . We think that the issue is because , subsite is still inheriting the parent Site master page library access . Because if we give read access on the parent site master page library to the subsite user , he is able to access the subsite .
Any kind of help will be appreciable .