Jump to:
| Project: | Content Profile |
| Version: | 6.x-1.0 |
| Component: | Base module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have the problem that a user with a specific role should be able to create a content of a type, which is registered as content profile.
He doesn't create a user, only the content of this type.
In your content_profile_nodeapi (line 379 of content_profile.module) the user is redirected to his own profile if he has a profile and wants to create a new content of this type.
I don't want to give permission "administer nodes", but the user has permission "create PROFILECONTENTTYPE content".
So I hacked your code and added && !user_access('create ' . $node->type . ' content') to the line 379 in then function content_profile_nodeapi.
It works for me now.
Is it possible to add this change to future releases?
Comments
#1
Great fix, it works!!!