[Permission] Ability to edit files created by yourself on groupfolders or shared

Hi,
I’m looking for the ability to only edit files created by myself on “groupfolders” or shared folder.
I hope to explain this schema:
Schemat:
Example Location: Building3->Documents->Offer

Permisions:
Test1 - Read;
Test2 - Write;
Test3 - You can only edit files created by yourself/Editable
files within your own building;
Test4 - Files to read within your own building;

Example
File 1 - Can only read files from this location.
File 2 - Can write and red files from this location.
File 3 - Created file by Test3 in this location and CAN ONLY edit his file.
File 4 - Can only by Test4 upload file and read this file. Cant chenge file.

It is possible on Nextcloud?