code: async def listTriggers(self):
          '''
          Lists all the triggers that the current user is authorized to access
          '''
          trigs = []
          for (iden, trig) in self.cell.triggers.list():
              useriden = trig['useriden']
              if not (self.user.admin or useriden == self.user.iden):
                  continue
              user = self.cell.auth.user(useriden)
              trig['username'] = '<unknown>' if user is None else user.name
              trigs.append((iden, trig))
  
          return trigync def listTriggers(self):
          '''
          Lists all the triggers that the current user is authorized to access
          '''
          trigs = []
          for (iden, trig) in self.cell.triggers.list():
              useriden = trig['useriden']
              if not (self.user.admin or useriden == self.user.iden):
                  continue
              user = self.cell.auth.user(useriden)
              trig['username'] = '<unknown>' if user is None else user.name
              trigs.append((iden, trig))
  
          return trigs
docs: Lists all the triggers that the current user is authorized to access