That's not offered OOTB AFAIK. However, you could listen for node saving events, check if the node is new (e.g., by checking if HasIdentity is false), and if so then assign the user saving that node permission to delete the node.
Hi there, I looked at this earlier but my train of thought was to add in a custom action into the content tree where you can apply logic which apples the restrictions you want. Looking through the source I couldn't figure out how you would do that, so didn't want to waste your time.
If Nicholas's solution works perfectly well for you that does sound like a lot less work, then this link does at least provide details of what the character for the delete action should be.
Limiting users to be able only to delete their own posts
Is that possible in Umbraco out-of-the-box? Or do I need to extend it in some way?
That's not offered OOTB AFAIK. However, you could listen for node saving events, check if the node is new (e.g., by checking if HasIdentity is false), and if so then assign the user saving that node permission to delete the node.
You can see how to listen for content saving events here: https://our.umbraco.org/documentation/Reference/Events/ContentService-Events
You can use something like this to assign delete permission for a given content node:
I don't know off the top of my head the correct character for delete permission.
Hi there, I looked at this earlier but my train of thought was to add in a custom action into the content tree where you can apply logic which apples the restrictions you want. Looking through the source I couldn't figure out how you would do that, so didn't want to waste your time.
Now I'm just looking at creating a section and came across this https://our.umbraco.org/wiki/reference/backoffice-apis/tree-api-to-create-custom-treesapplications/ which suggests how you might get such an action into the content tree.
If Nicholas's solution works perfectly well for you that does sound like a lot less work, then this link does at least provide details of what the character for the delete action should be.
is working on a reply...