Group Folders Permission

Hi everyone
Have question , In Flows → File Access control , How can I give access to group folders according to below example:

folder general ==> upload any format
folder image ==> only permit image format
folder document ==> only permit upload pdf,doc format

regard