Users can opt out of this new behavior by clearing the Share everything in this folder, even items with unique permissions check box. This lets the user share only the folder and content that inherits permission. The basic permissions model is unchanged. Also, this feature doesn't change a user's ability to share or discover content that they don't have access to.
Note This feature is currently being deployed to SharePoint Online. If you don’t see this option yet, wait for your organization to receive the latest update.
For more information about permission inheritance, go to the following Microsoft website:
Article ID: 3048806 - Last Review: Dec 21, 2016 - Revision: 1