Allow deletion of nodes per end user. Options
bnkrazy
Posted: Thursday, September 11, 2008 10:07:14 PM
Rank: Enthusiast

Joined: 5/13/2008
Posts: 41
Location: VA, USA
Hi,

I allow members to add nodes via the gallery demo method. I add their memberid as metadata to each added node, so members can see/edit their own added content, etc. I need to add a delete button but don't see any built in node deletion function. Has anyone done this yet? I've been able to avoid using usercontrols so far and would like to pull this off without them as well if I can help it. If not, I'll whip one up. I just want to make sure I'm not missing anything.

Thanks!

Chris
bnkrazy
Posted: Monday, September 15, 2008 5:43:58 PM
Rank: Enthusiast

Joined: 5/13/2008
Posts: 41
Location: VA, USA
My guess is it isn't possible to delete nodes then? Is this something that will be possible in v4? It would be nice because I can almost create an entire application with umbraco but deletion is required functionality. I'm sure I could make it work with action handlers, but I wanted to get all the functionality either with the built in umbraco interface or move it all to a UC.

Thanks!
Chris
Dirk
Posted: Monday, September 15, 2008 7:37:03 PM

Rank: Umbracoholic

Joined: 9/27/2007
Posts: 1,136
Location: Belgium
Hi Chris,

Did you never right-click a node? 'Delete' is defenitely one of the options, so it's available from the admin backend as is through the api.

Just have a look at the api docs to find what you're looking for: apiDocs

I guess your situation is a bit different as you wish the user to only delete it's own uploaded nodes. You'll need to set the appropriate permissions (delete, update, ...) each time a user uploads a node, which you can only do using action handlers (v3.x) or using the .net event model (as from v4)

Bottom line is: Deletion of nodes is always available through right-clicking the node and selecting 'Delete' from the context menu. You'll have to take care of narrowing the permissions on each upload, so members can only delete their own nodes.

Hope that helps.

Regards,
/Dirk


level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
bnkrazy
Posted: Tuesday, September 16, 2008 3:15:31 AM
Rank: Enthusiast

Joined: 5/13/2008
Posts: 41
Location: VA, USA
I know that it's available via the backend, I'm trying to get site Members (not Users) to be able to add and remove items from the front end.

The adding is simple via Doc2Form, etc. I can't find a similar delete function accessible to Members (not Users).

Chris
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.