OBJECT

ExpensePermissions

Fields for the user permissions on an expense

link GraphQL Schema definition

  • type ExpensePermissions {
  • # Whether the current user can edit the expense
  • canEdit: Boolean!
  • # Whether the current user can edit the expense
  • canDelete: Boolean!
  • # Whether the current user can the the invoice info for this expense
  • canSeeInvoiceInfo: Boolean!
  • # Whether the current user can trigger the payment for this expense
  • canPay: Boolean!
  • # Whether the current user can approve this expense
  • canApprove: Boolean!
  • # Whether the current user can unapprove this expense
  • canUnapprove: Boolean!
  • # Whether the current user can reject this expense
  • canReject: Boolean!
  • # Whether the current user can mark this expense as unpaid
  • canMarkAsUnpaid: Boolean!
  • # Whether the current user can comment and see comments for this expense
  • canComment: Boolean!
  • }