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
Example Application
Currently, no standalone example application is available, but the steps above can be replicated using the schema and database configuration provided.
Expected behavior
The access check request should successfully evaluate the valid_map_quota rule using the provided context.data.maps_count value and return a BooleanValue indicating whether the create_maps action is permitted.
Additional context
The error indicates a type mismatch between the maps_count value in the request and the expected type in the valid_map_quota rule.
The maps_count value in the request context is an integer (0), which aligns with the schema definition (integer). The source of the mismatch is unclear.
Environment
Permify Version: v1.2.3
The text was updated successfully, but these errors were encountered:
Describe the bug
When sending an access check request for an specific action, using context data, the request fails with the following error:
proto: mismatched message type: got "base.v1.BooleanValue", want "base.v1.IntegerValue"
The error occurs even though the provided context data is of type integer, as required by the definition of the rule in the schema.
Steps to reproduce the behavior:
Having this schema:
Add the following tuple to the database:
Send this access check request:
Observe the response:
Example Application
Currently, no standalone example application is available, but the steps above can be replicated using the schema and database configuration provided.
Expected behavior
The access check request should successfully evaluate the valid_map_quota rule using the provided context.data.maps_count value and return a BooleanValue indicating whether the create_maps action is permitted.
Additional context
The error indicates a type mismatch between the maps_count value in the request and the expected type in the valid_map_quota rule.
The maps_count value in the request context is an integer (0), which aligns with the schema definition (integer). The source of the mismatch is unclear.
Environment
Permify Version: v1.2.3
The text was updated successfully, but these errors were encountered: