COR-288: Can't publish document with user having any membership

https://jira.exoplatform.org/browse/COR-288