I’m in the process of making my contract upgradeable. My proxy contract was already a proxy before being upgradeable and was the owner of my other contracts(vaults). The proxy owns the vaults. I want my vault to be upgradeable as well, But if I pass the ownership of the vaults proxy to my main proxy. I’m unable to upgrade them after the ownership was given to another proxy.
Is there a way to pass ownership of my vaults proxy to my main proxy and still be able to upgrade it or do I have to change the permission logic and maybe use access control instead of ownable. So I remain the owner of the proxy but the main proxy is the only one who whould have access to this vault?