Is there any way to not show content in the CMF that a user does not have permission to edit. Sich as the way the default Drupal admin/content.html does. The extra search options and features in the CMF are rad, but showing our clients content that they do not have permission to edit is not an option for us. Is there a work around for this?

Thank you!

Comments

philipnorton42’s picture

Have you managed to fix this or find an alternative solution? I'm faced with the same issue

I do have a couple of days free to work on this so I might be able to implement a patch. I haven't looked at the source code much yet so an indication of where to start looking around would be cool :)

adinochestva’s picture

StatusFileSize
new1.33 KB

Ive created a patch that will do what u need , It will only show the content types that user has permission of 'edit any ... content' , So whatever u wanna user see , must have that permission.
Hope it helps

dkingofpa’s picture

Status: Active » Needs work
StatusFileSize
new1.4 KB

Cleaned up the code from #2 and rolled a new patch using instructions at http://drupal.org/project/cmf/git-instructions

I think the patch still needs work though. It currently only takes into account the "edit any" permissions and doesn't do anything with the "edit own" permissions. Also, the node type select field should be limited to only the content types that the user has access to.

staceyrice’s picture

Thank you adinochestva and dkingofpa! I'm going to forward this patch on to our programmer and see if she has some time to iron out the edit own and select field.