removing dead code - ResourcePermissions
removing resource_permissions require and minor fix
Merge pull request #1766 from lzap/resource-perm-removal

removing dead code - ResourcePermissions
Merge pull request #1765 from lzap/resource-perm-disconnected

removing resource_permissions require and minor fix