Skip to content

Fix permission validation in internal extension API #579

@cd-work

Description

@cd-work

Currently in our own extension API, we validate permissions by checking for an exact match. However for path permissions this is incorrect, since these permissions should be validated by checking if the path to be validated is a child of the permitted paths.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingextensionsPhylum CLI extensionsneeds triageNeeds to be reviewed or assigned

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions