sqlalchemy-adapter icon indicating copy to clipboard operation
sqlalchemy-adapter copied to clipboard

CasbinRule change just __tablename__

Open mesanubi opened this issue 1 year ago • 1 comments

Can we introduce some kind of configuration about tablename?

Mostly it's just about this and we can avoid to pass a class, if someone just needs to change that.

What do you think about?

mesanubi avatar Oct 23 '24 13:10 mesanubi

@RafGiammario If you need to change the table name, you must redefine the CasbinRule class

leeqvip avatar Oct 25 '24 02:10 leeqvip