vmware-archive / dispatch

Dispatch is a framework for deploying and managing serverless style applications.
http://dispatchframework.io
Apache License 2.0
532 stars 58 forks source link

UUID and potential name conflict of resources of different application #157

Open seanhuxy opened 6 years ago

seanhuxy commented 6 years ago

This comes to my mind while I was writing e2e test for applications. Developers of different applications are highly likely naming their resource with a name which is potentially conflicted with another name in another application which they may not be able to see. It is indeed potential risk and we should allow the name conflicts especially when different application are isolated by access controls.

The more fundamental problem behind this is that we are not using UUID as the entity key, (to my best knowledge)

Detailed Description

We should first refactor and use UUID as the entity key in entity store, then provide an mechanisms to check name conflicts only within applications. When access control comes into place, the transfer will be much more smooth.

Context

Possible Implementation

Complexity

Impact

Your Environment

berndtj commented 6 years ago

This needs to be discussed further. It is a very large and potentially difficult change.