php-casbin/laravel-authz

addRolesForUser批量新增不成功

lvtu1124 opened this issue · 3 comments

addRolesForUser返回true,实际没写入,addRoleForUser是可以的,追踪看到
private function updateWatcher(): void { if (!is_null($this->watcher) && $this->autoNotifyWatcher) { $this->watcher->update(); } }
里面$this->watcher为空,帮忙看看是不是bug,还是说需要哪里调用才启动批量插入

@lvtu1124 fixed in: #11

@techoner @basakest please make a new release.

🎉 This issue has been resolved in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀