Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

New answers tagged

0 votes

$group->addContent() in hook_node_insert() doesn't update the access permissions for the node

This was annoying because you can't use feeds once they're not added correctly. However, I managed to do it by setting a default value of "community" for the group, exporting the ...
Drupal ᐬrts's user avatar
0 votes

How can I set view permissions for content type to make it visible to autenticated users only?

Node View Permissions does exactly this.
Ben's user avatar
  • 1,030
0 votes

Published checkbox only available for administrator

By default the fields uid, status, created, promote and sticky are only exposed to users with the administer nodes permission, because they are considered to be "administrative fields". Ref. ...
pfrenssen's user avatar
  • 1,137

Top 50 recent answers are included