Update core/components/babel/elements/plugins/babel.plugin.php

Added verification of user rights when saving resources.