My permission’s condition references a field under attrs (of type jsonb).
But Hibernate fails to parse the arrow operator.
It fails also when trying to parse the whole attrs into a string using ‘::text’.
Regards.
My permission’s condition references a field under attrs (of type jsonb).
But Hibernate fails to parse the arrow operator.
It fails also when trying to parse the whole attrs into a string using ‘::text’.
Regards.
I solved the problem using:
json_extract_text(self.attrs, ‘field’, ‘sub-field’)
Ce sujet a été automatiquement fermé après 30 jours. Aucune réponse n’est permise dorénavant.