workdocs_remove_all_resource_permissions function

Removes all the permissions from the specified resource