Closed (works as designed)
Project:
Content Management Filter
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2009 at 09:46 UTC
Updated:
1 Aug 2009 at 18:21 UTC
needed that functionality, hope it helps
| Comment | File | Size | Author |
|---|---|---|---|
| cmf.module-5.x-1.4--manage_own_content_perm.patch | 1.3 KB | caktux |
Comments
Comment #1
AlsTried it on Drupal 5.10 with CMF 5.x-1.4: works fine.
It is a much needed option and does not add much to module code. Hope it gets added in next release!
Comment #2
canen commentedThe patch works fine except there doesn't seem to be anyway to allow access to just a user's content. The 'filter and manage site content' permission seems to still be needed. In addition a count query is needed since if there are 100 nodes and I only created 5 I'll only see 5 but the pager will account for 100, hence it will still show up. The query needs to look something like this:
The other queries will need to be taken into account as well.
Comment #3
canen commentedOK, some updates on the permission front. This patch requires that the user have 'filter and manage site content' permission to view their own nodes in addition it allows you to view any other users content. The menu function needs to be changed get a proper user only content listing:
I am just making notes as I go along.
Comment #4
nancydruPer canen, changing status. FYI, the count query problem is fixed.
Comment #5
nancydruSince there is the CMF tab on the "My account" page, why give a my-content-only user 'filter and manage site content' permission to start with?
Comment #6
nancydruIMO, this is handled with the permissions changes to the user tab. Feel free to reopen if you disagree.