
scope = "AuditImplied"
description = """
  A user with the ProgramReader role for a private program will also have this
  role in the audit context for any audit created for that program.
  """
permissions = {
    "read": [
        "Request",
        "ControlAssessment",
        "Issue",
        "DocumentationResponse",
        "InterviewResponse",
        "PopulationSampleResponse",
        "Audit",
        "AuditObject",
        "Meeting",
        "ObjectDocument",
        "ObjectPerson",
        "Relationship",
        "Document",
        "Meeting",
        "UserRole",
        "Context",
    ],
    "create": [
        "DocumentationResponse",
        "InterviewResponse",
        "Response",
        "ObjectDocument",
        "ObjectPerson",
        "Relationship",
        "Document"
    ],
    "view_object_page": [
        "__GGRC_ALL__"
    ],
    "update": [],
    "delete": [
        "ObjectDocument",
        "ObjectPerson",
        "Relationship"
    ]
}


scope = "AuditImplied"
description = """
  A user with the ProgramReader role for a private program will also have this
  role in the audit context for any audit created for that program.
  """
permissions = {
    "read": [
        "Request",
        "ControlAssessment",
        "Issue",
        "DocumentationResponse",
        "InterviewResponse",
        "PopulationSampleResponse",
        "Audit",
        "AuditObject",
        "Meeting",
        "ObjectDocument",
        "ObjectPerson",
        "Relationship",
        "Document",
        "Meeting",
        "UserRole",
        "Context",
    ],
    "create": [],
    "view_object_page": [
        "__GGRC_ALL__"
    ],
    "update": [],
    "delete": []
}

Remove CD permissions for program audit reader
Remove CD permissions for program audit reader

  
  scope = "AuditImplied"
  description = """
    A user with the ProgramReader role for a private program will also have this
    role in the audit context for any audit created for that program.
    """
  permissions = {
      "read": [
          "Request",
          "ControlAssessment",
          "Issue",
          "DocumentationResponse",
          "InterviewResponse",
          "PopulationSampleResponse",
          "Audit",
          "AuditObject",
          "Meeting",
          "ObjectDocument",
          "ObjectPerson",
          "Relationship",
          "Document",
          "Meeting",
          "UserRole",
          "Context",
      ],
-     "create": [
+     "create": [],
-         "DocumentationResponse",
-         "InterviewResponse",
-         "Response",
-         "ObjectDocument",
-         "ObjectPerson",
-         "Relationship",
-         "Document"
-     ],
      "view_object_page": [
          "__GGRC_ALL__"
      ],
      "update": [],
-     "delete": [
+     "delete": []
-         "ObjectDocument",
-         "ObjectPerson",
-         "Relationship"
-     ]
  }
  
Remove CD permissions for program audit reader
## Code Before:

scope = "AuditImplied"
description = """
  A user with the ProgramReader role for a private program will also have this
  role in the audit context for any audit created for that program.
  """
permissions = {
    "read": [
        "Request",
        "ControlAssessment",
        "Issue",
        "DocumentationResponse",
        "InterviewResponse",
        "PopulationSampleResponse",
        "Audit",
        "AuditObject",
        "Meeting",
        "ObjectDocument",
        "ObjectPerson",
        "Relationship",
        "Document",
        "Meeting",
        "UserRole",
        "Context",
    ],
    "create": [
        "DocumentationResponse",
        "InterviewResponse",
        "Response",
        "ObjectDocument",
        "ObjectPerson",
        "Relationship",
        "Document"
    ],
    "view_object_page": [
        "__GGRC_ALL__"
    ],
    "update": [],
    "delete": [
        "ObjectDocument",
        "ObjectPerson",
        "Relationship"
    ]
}

## Instruction:
Remove CD permissions for program audit reader
## Code After:

scope = "AuditImplied"
description = """
  A user with the ProgramReader role for a private program will also have this
  role in the audit context for any audit created for that program.
  """
permissions = {
    "read": [
        "Request",
        "ControlAssessment",
        "Issue",
        "DocumentationResponse",
        "InterviewResponse",
        "PopulationSampleResponse",
        "Audit",
        "AuditObject",
        "Meeting",
        "ObjectDocument",
        "ObjectPerson",
        "Relationship",
        "Document",
        "Meeting",
        "UserRole",
        "Context",
    ],
    "create": [],
    "view_object_page": [
        "__GGRC_ALL__"
    ],
    "update": [],
    "delete": []
}
