removing resource_permissions require and minor fix
Merge pull request #1765 from lzap/resource-perm-disconnected

removing resource_permissions require and minor fix