Hello,
Is a user only have the right [Content type]: publish own node type or [Content type]: unpublish own node type, the 'Publish' or 'Unpublish' button doesn't appear in local tasks.
This is due to the condition to check is the current logged user is the owner of the displayed content, in the PublishContentAccess Class : $this->node->getOwner() == $this->account->id()
. The equality between en Object and a single integer return false.
So it should be $this->node->getOwnerId() == $this->account->id()
.
Closed: duplicate
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.