store-access-policy.mjs 910 B

123456789101112
  1. // Teaching and account records are served through authenticated, scoped cloud
  2. // functions. Public REST access would bypass the store gateway entirely.
  3. export const STORE_PRIVATE_CLASSES = [
  4. '_User','_Session','Role','Manager','PlatUserRole','CommonModel','CourseBinding','CourseAppointment',
  5. 'LessonRecord','DailyStudyRecord','PracticeRecord','CoachAvailability',
  6. 'MemoryPracticeRecord','UnitLearningRecord','SurveyLog','UserBankAccount','UserCredit','UserDummyPoint','UserFavorite','UserCoupon','MemberNote','SysLog','UserExpDomP','UserSIcon','UserExpHis','UserUserPoint',
  7. 'CourseCreditReservation','CreditTransaction','LessonCompletionReport','LessonReview',
  8. 'ReviewTaskReward','ReviewRewardAdjustment','PayrollBatch','PayrollLine','PayrollAdjustment'
  9. ];
  10. export function privateClassPermissions(previous={}) {
  11. return {...previous,find:{},get:{},count:{},create:{},update:{},delete:{},addField:{}};
  12. }