Score:0

Disable content creation outside group context

ph flag

I'm using the group module.

I have a content type for which nodes should only ever exist as members of groups.

Is there a sensible way to disable creation from /node/add/{content_type} so that nodes can only be created from group/{group}/content/create/group_node:{content_type}?

Score:0
cn flag

This is actually pretty simple: The regular permissions page, /admin/people/permissions, controls access to /node/add/{content_type}. The group-level permissions, admin/group/types/{group_type}/permissions, controls access to group/{group}/content/create/group_node:{content_type}. If you have the appropriate checkbox(es) unchecked on the former, and checked on the latter, you'll get what you're after.

Lambic avatar
ph flag
Ah of course, thanks! I've been working as admin so that all gets bypassed, but makes sense for regular users.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.