首页   API文档   注册   登录
Casbin = way to authorization
A place for Casbin developers and users
现在注册
已注册用户请  登录
deshpanderudra@gmail.com
Casnode  ›  Casbin

Add/update/delete users

  •  
  •  
    deshpanderudra@gmail.com · 4个月前 · 72 次点击 
    这是一个创建于 109 天前的主题,其中的信息可能已经有所发展或是发生改变。

    I tried update/delete/add functions for node js and getting correct output of deleteuserrole () but it does not remove role from .conf file and it stays as it is. My understanding is this function will remove the user from the file but it is not doing that.

    Same way any add/update/delete functions are not working only get works. Can someone help clarify how to make it work?

    Translate

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

    .conf is the model, and it is never changed by Casbin. You may want to modify the policy instead.

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