首页   注册   登录
Casbin = way to authorization
A place for Casbin developers and users
现在注册
已注册用户请  登录
Marumba
Casnode  ›  Casbin

Casbin with postgres

  •  
  •  
    Marumba · 3个月前 · 45 次点击 
    这是一个创建于 88 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Hi, I want to use Casbin with postgres storage. First I tried the basic adapter, it required me to install mysql and sqlite modules. I don't use mysql or sqlite so that was a no go for me.

    Then I tried the sequelize adapter. It worked, however when adding duplicate of existing policies or role association, it simply duplicate the entries in the DB. Is this a bug?

    Are these bugs?

    45 次点击  ∙  0 人收藏  
    Tweet Weibo 忽略主题 
    1 条回复   3个月前
    hsluoyz
        1
    hsluoyz   3个月前  

    @Marumba can you create a github issue?

    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   0 人在线   最高记录 3   ·     选择语言  ·     选择编辑器
    创意工作者们的社区
    World is powered by code
    VERSION: 00d4f20 · 38ms · UTC 09:14 · PVG 17:14 · LAX 02:14 · JFK 05:14
    ♥ Do have faith in what you're doing.