Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

Yo

Is casbin seriously not supporting empty string values?

I get [null] in postgres every single time I try to use an empty string

using casbin's official postgres adapter github.com/casbin/casbin-pg-adapter

Seems like a massive issue

What if I want to differentiate between a wildcard and a purposefully omitted value?

It just turns into a [null] and breaks casbin

2views
2users
1 minread

sweet, thanks for that. I didn't want to have to fix it myself

1 / 3
Nov 2025