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

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