/*
 * @Author: your name
 * @Date: 2020-12-03 11:27:07
 * @LastEditTime: 2020-12-03 14:04:53
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tostumi\src\access.ts
 */
export default function (initialState: any) {
  //   const userId = JSON.parse(localStorage.getItem('userInfo') as any);
  return {
    canRead: (foo: any) => {
      //   console.log(foo);
      //   console.log(userId);
      //   return foo.ownerId === userId;
      return true;
    },
  };
}
