code: def update_rejection_permissions(portal):
      
      updated = update_rejection_permissions_for(portal, "bika_ar_workflow",
                                                 "Reject Analysis Request")
      if updated:
          brains = api.search(dict(portal_type="AnalysisRequest"),
                              CATALOG_ANALYSIS_REQUEST_LISTING)
          update_rolemappings_for(brains, "bika_ar_workflow")
  
  
      updated = update_rejection_permissions_for(portal, "bika_sample_workflow",
                                                 "Reject Sample")
      if updated:
          brains = api.search(dict(portal_type="Sample"), "bika_catalog")
          update_rolemappings_for(brains, "bika_sample_workflow")
docs: Adds the permission 'Reject Analysis Request' and update the permission
       mappings accordingly