Permissions for Node Profile

Events happening in the community are now at Drupal community events on www.drupal.org.
mcsnolte's picture

For the site we're creating we would like users to only be able to edit their Node Profile node, but no need to create one (our import tool creates a profile for them). However, it looks like this is not possible since it seems you need permission to "Create" the profile in order to edit it. Has any found a way to get around this?

Comments

maximum population

firebus's picture

set maximum population to 1 on the cck edit form for the content type.

i think this happens automatically when you check the "use this content type as a nodeprofile for users" box.

this makes it impossible for a user to author more than one node of this content type - if they already have one, they can't make any more.

if things aren't working that way for you, please make sure that your import tool is doing the right thing for nodeprofile and nodefamily - iirc there are some records that need to be creating relating the user to the node when the node is created for this feature to work.

Thanks, that's what we

mcsnolte's picture

Thanks, that's what we already have configured. The problem we had with that was they can see the "Create Content > Profile" in the menu and also when they go to the Create Content page (i.e. /node/add). We'll just disable that create content link in the menu, but it's small usability issues like this that can cause a lot of confusion to the user if they look at the Create Content page. Not to mention to us admins... why is it that if we set permissions so that they can edit their own profile they are not allowed to do so unless they are also given permission to create one??

Profiles as nodes

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: