There's a very basic concept for portfolios:
You can include anything that you created, and which you have a right to include.
If YOU own the work and you created it, you don't need to ask anybody. Feel free to include anything like that.
But if you did the work for a client - if somebody paid you to do the work and they now own the work - then you need to ask for their permission.
There are two kinds of portfolio items:
- item you upload without connecting to a specific Upwork contract
- item you upload connected to a specific Upwork contract.
If you upload a portfolio piece AND associate it with an Upwork contract, that's cool. But that will automatically ask the client if you have permission to use it in your portfolio.