You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present, I suspect that NULL is not a valid value for the permissions field. When that field is set to NULL I get the following error:
Cannot read property 'some' of null
In my application, a majority of users will have only a basic set of permissions over their own content. I had planned to leave permissions blank for them, but instead it seems I'll need to give them a basic "user" permission to satisfy this need.
In the future, it'd be neat if the hook could fail out (based on the value of the error parameter) when there are no roles to check.
The text was updated successfully, but these errors were encountered:
At present, I suspect that NULL is not a valid value for the permissions field. When that field is set to NULL I get the following error:
In my application, a majority of users will have only a basic set of permissions over their own content. I had planned to leave permissions blank for them, but instead it seems I'll need to give them a basic "user" permission to satisfy this need.
In the future, it'd be neat if the hook could fail out (based on the value of the error parameter) when there are no roles to check.
The text was updated successfully, but these errors were encountered: