How to permanently delete resources in Python Eve after enabling soft delete? - eve

The docs at:
https://docs.python-eve.org/en/stable/features.html#soft-delete
clearly describe how to enable "soft delete" feature and how to restore items that are deleted.But it is not clear to me how to permanently delete suchlike items. One workaround is to implement a f. API for this purpose but I am wondering if there is already a mechanism to do this in Eve.
Thanks in advance,
Raghu

Related

How can we make a Work Item Creator automatically a Follower?

I am running Azure DevOps 2019 RC1 with an Inheritance Collection and a new Agile project.
I have a requirement that when a user creates a work item (task/issue), they must automatically be added as a follower of this work item. How can I achieve this? I have look in the rules for the work item under process customisation but it doesn't appear to be possible this way.
We are using the tickets to track issues. Whoever discovers the issue raises the ticket. The basic requirement is that anyone who raises a ticket should be automatically notified of its progress, even though they are not responsible for the development or testing.
Currently the work around is telling the user that when they create an issue they must click the Follow button, but it is easy for them to forget and then lose their updates. It seems like a very simple customisation so maybe I'm missing the obvious.
Thanks
I think you can't auto follow things currently, but you can add notification setting that will send automatically emails when work item is updated. To do this, go to Project Settings > Notifications page and create new subscription. Select "Work/A work item is changed" and put "Members of ... team by role" in Deliver to selection. Set roles to "Created by" and untick the "Skip initiator".
Your problem would be addressed precisely with the feature requested in the official Azure DevOps' feedback platform here:
479189 - Automatically follow work items I interact with
(That page also mentions workarounds, including per-team one answered here, and a per-person alternative. See this comment. The shortcoming of both is that they don't allow to you to unsubscribe for selected tickets.)

Unable to drag and drop workitems on board from one state to another

Unable to drag and drop workitems on the board in TFS2013 whereas manually able to change the status from one to another (example: In progress to Done etc.). It's not happening for all the users, only few not able to perform this. Is this sort of permissions issue? if yes, where would this need to be set to avoid the issue. Any ideas.
Yes, for work tracking permission, you could grant or restrict access to various work tracking features by granting users or groups specific permissions for an object, team project, or collection. Please double check Set permissions and access for work tracking
You could use tf command line to list two users' related permission. One could, another is not unable. This will narrow down the issue.
Another thing, instead of drag and drop work items on the board in TFS2013 to change work item status. Suggest you ask that user to change the work item status in the work item directly . He may lack of the related permission for that specific work item.

Prevent deletion of items that are locked

Does anyone know if there is a way to prevent items that are at state "Closed" from being deleted? Or maybe there is a workaround type of way to do this?
We work in a regulated environment so we have a condition where we cannot delete items once they are closed(as they also go into read only) unless its for maintenance reasons.
There isn't any way to control this base on work item state. The workaround would be disable the "Permanently delete work items" and "Delete and restore work items" permission for normal users.

Can I disable copy/clone of work item?

We have customized out workitems to a far extent. Now the copy/clone are throwing exceptions. Can I disable copy/clone work item in TFS? Is it possible?
According to your description, seems you are meaning the feature as below screenshot:
There is no way to disable the feature directly in TFS, unless you restrict the user's related permission.
The user which want to copy/clone work item must have your View work items in this node, and your Edit work items in this node permissions set to Allow.
More details please refer this tutorial: Copy or clone work items

Is there a way to restrict who can assign backlogs to iterations in VSTS?

I tried looking through the documentation with no luck.
I also went through the permissions at various levels and couldn't find a way to do it.
No, there isn't any way to do this. There is already a feature request relate to this on VSTS User Voice. Refer to this link for details: Add "Edit work items in this node" security policy to Iteration in Team System

Resources