Permission token
Used to grant permission to multiple assets matching a pattern.
Pattern syntax
Pattern is tested against asset path - collection, directory and key.
Internally uses minimatch therefore you can use *
and **
wildcards for
complex patterns.
For example:
*
- matches everything*/*
- matches all collections and all keys (no directory though)*/*/*
- matches all collections, all single level directory and all keys*/**/*
- matches all collections, all directories (any level) and all keysimage/*
- matches onlyimage
collection and all keysimage/your_profile_id/*
- matches onlyimage
collection,your_profile_id
directory and all keysimage_*/**/*
- matches all collections starting withimage_
, all directories (any level) and all keys