added function removeResource
added function _createResource
added function allow
added function allow
added function allow
added function removeAllow