You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: implement path/URL pattern matching in plugin-permission-enforcer
Resolve 3 TODOs by adding glob-based pattern matching:
- checkFileRead: match paths against metadata.paths patterns
- checkFileWrite: match paths against metadata.paths patterns
- checkNetworkAccess: match URLs against metadata.hosts patterns
Add matchGlob helper supporting * and ** wildcards.
When no restrictions exist in metadata, all paths/URLs are allowed.
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
0 commit comments