Even if a role has the "Collaborative Workspace: Create new content" permission, the logic inside the opigno_collaborative_workspaces.module's hook_node_access blocks them.

This hook implementation should allow 'create' operations to go through. These can still be blocked by other implementations that have an actual reason.

Comments

stefanos.petrakis created an issue. See original summary.

stefanos.petrakis’s picture

Provided patch that checks if the operation at hand is 'create' and allows the following hook_node_access implementation to handle this.

amermod’s picture

Status: Active » Patch (to be ported)

Hi,

Thanks for the issue and the patch. You find a good solution.
I've applied the patch and committed.

Thanks again !
Best regards,
Allan

amermod’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.