saving permissions as json in Administrator for this error-> Cannot JSON_decode permissions [Admin]

穿精又带淫゛_ 提交于 2019-12-24 00:34:54

问题


I am using Administrator (frozennode) with Sentry . for permission part when I want to create new group I dont know how should I save the text "user.update" like {"user.update":1} . I have to .because sentry's methods work just with json data.

but when I import different kind of permissions or groups how do this?

how should I change the Administrator save() method to force it do that just for "permission" field? the save() function -> http://laravel.io/bin/qkr76

thanks for your time

来源:https://stackoverflow.com/questions/24261095/saving-permissions-as-json-in-administrator-for-this-error-cannot-json-decode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!