I have…
- Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
I’m submitting a…
- Documentation issue or request
Current behavior
I’d like the ability to limit role permissions to Assets in particular folders.
For instance, suppose I have client XYZ and an asset folder at clients/XYZ
. It would be great if I could have more granularity than asset read/write, such that I could allow that client to only read or write to their own directory.
Right now, we can broadly define scopes like assets.read
and assets.create
. Could it be possible to extend that syntax? Maybe add a new root scope to disambiguate, so something like:
asset-dir.client/ABC.read
asset-dir.client/XYZ.read
asset-dir.client/XYZ.write
# Wildcard support would be nice too
asset-dir.client/*.read
# And maybe follow some glob conventions around single wildcard vs. double wildcard
# such that a single matches a single directory, while double wildcards match any path length?
asset-dir.client/**.read
Ideally, these permissions would affect the asset API and the admin UI as well, so that users can only navigate to allowed folders.
Environment
App Name:
- Cloud version
Version: [VERSION]
Cloud Version