You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When user creates a DPU template as public, other users can use it in their pipelines.
When the DPU template owner decides to delete the template, there is a check that checks if the DPU is used in any pipeline. However, permission check filters out the private pipelines and check says that no pipeline uses the DPU and the DPU template is deleted.
Private pipelines of other users are broken - DPU is deleted
To check the existing pipelines is used PipelineFacade.getPipelinesUsingDPU() which is also used to get pipelines in DPU instances view
So what is the expected solution? Should the DPU template owner see all the pipelines using this template, even if they are private? This way he would see them in DPU instances list
Or we introduce just new check method that ignores permissions and checks also all private pipelines - maybe can give information about blocking pipelines (pipeline name, user, mail)
The text was updated successfully, but these errors were encountered:
The user (owner of the DPU template) should not for sure see the details of the private pipelines using it. So I suggest two ways, in the case user (DPU template owner) wants to delete his DPU template used in private pipelines of others:
List of pipeline using the DPU template will contain all the pipelines, including private ones. Nevertheless, user cannot click and open the detail of the private pipelines, cannot run the pipeline etc.
List of pipeline using the DPU template will contain only public pipelines (as now). Nevertheless, if this list is empty and user tries to delete the DPU template, a message can oocur, saying "the DPU template is used also in private pipelines of user X with email Y", so it cannot be deleted. Please contact such users, before the DPU can be removed." and the user cannot delete the DPU.
When user creates a DPU template as public, other users can use it in their pipelines.
When the DPU template owner decides to delete the template, there is a check that checks if the DPU is used in any pipeline. However, permission check filters out the private pipelines and check says that no pipeline uses the DPU and the DPU template is deleted.
Private pipelines of other users are broken - DPU is deleted
To check the existing pipelines is used PipelineFacade.getPipelinesUsingDPU() which is also used to get pipelines in DPU instances view
So what is the expected solution? Should the DPU template owner see all the pipelines using this template, even if they are private? This way he would see them in DPU instances list
Or we introduce just new check method that ignores permissions and checks also all private pipelines - maybe can give information about blocking pipelines (pipeline name, user, mail)
The text was updated successfully, but these errors were encountered: