code: def _get_prefixes_for_action(action):
      
      (technology, permission) = action.split(':')
      retval = ["{}:".format(technology)]
      phrase = ""
      for char in permission:
          newphrase = "{}{}".format(phrase, char)
          retval.append("{}:{}".format(technology,newphrase))
          phrase = newphrase
      return retval
docs: :param action: iam:cat
      :return: [ "iam:", "iam:c", "iam:ca", "iam:cat" ]