text: /**
   * Generated by `createschema onboarding.OnBoarding 'completed:Checkbox; stepsTransitions:Json;'`
   */
  
  async function canReadOnBoardings ({ authentication: { item: user } }) {
      if (!user) return false
  
      return {}
  }
  
  async function canManageOnBoardings ({ authentication: { item: user }, originalInput, operation, itemId }) {
      if (!user) return false
      if (operation === 'create') {
          return true
      } else if (operation === 'update') {
          return true
      }
      return false
  }
  
  /*
    Rules are logical functions that used for list access, and may return a boolean (meaning
    all or no items are available) or a set of filters that limit the available items.
  */
  module.exports = {
      canReadOnBoardings,
      canManageOnBoardings,
  }
  