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

@hsluoyz I noticed the ticket was answered and closed. I left a new note on the issue since it is still a bit unclear if a custom role manager has any hope of working for what I'm trying to achieve, or if I need to implement a new Adapter. Therefore I'm hoping the issue can be re-opened for comments to have definitive answers to this?

Yes. Certainly. Should I share it here or in the issue?

I think I misunderstood. I will create a public repo with the VerjiRoleManager and the test/repro

FTR: I've checked with GH issues, and with Gemini and the Casbin AI bots. All indicate that using a custom RoleManager with casbin-net should work, so I'll go ahead and write up a new GH issue.

Are there any known issues using a custom role manager with Casbin.Net? I've been trying a couple of days to get it to work, but before I write up an issue in GH, I though I should check if there are any known issues?

Teaser;

I'm to trying to verify using a custom role manager using enforcer. SetRoleManager("g", rm) I've verified that the role manager contains roles, but getting the role-policies using enforcerOrg.GetNamedGroupingPolicy("g"); returns an empty list.

I'll do a more proper writeup in GH if using a custom/external role-manager is supported for casbin .net