Which package does this affect?
@permify-toolkit/core
Problem / Motivation
The current approach to writing check permissions and defining relationships is overly verbose. Both this method and the main permit library follow the same cumbersome pattern. While reviewing the documentation, I noticed relationships are often written as document:2#owner@user:1—could we introduce a method that accepts such a string, parses it, and extracts the relevant fields? This would significantly simplify the process.
Proposed Solution
custom api that accepts a string and parses it and extracts the fields from it
Alternatives Considered
None
Would you like to implement this?
Which package does this affect?
@permify-toolkit/core
Problem / Motivation
The current approach to writing check permissions and defining relationships is overly verbose. Both this method and the main permit library follow the same cumbersome pattern. While reviewing the documentation, I noticed relationships are often written as
document:2#owner@user:1—could we introduce a method that accepts such a string, parses it, and extracts the relevant fields? This would significantly simplify the process.Proposed Solution
Alternatives Considered
None
Would you like to implement this?