mock-user.ts 296 B

12345678
  1. // Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. import { mockPermissions } from './mock-permissions'
  3. // If we change handling, we can improve it here in one function
  4. export const setupView = (view: 'agent' | 'customer') => {
  5. mockPermissions([`ticket.${view}`])
  6. }