Issues allowing open registration for project
# support
e
After setting an access policy at
app.medplum.com/admin/members/[redacted]
, I am still seeing the 'Project does not allow open registration' message after trying to sign up as a new user. We currently on the developer tier, and are using the RegisterForm and SignInForm components from the medplum storybook for patient registration/signup. Login works when users are invited through
app.medplum/admin/invite
, after which we are able to receive user information through other medplum methods without issue, but otherwise this has been a bottleneck for us
here is the aforementioned access policy:
Copy code
{
  "compartment": {
    "reference": "%patient"
  },
  "resource": [
    {
      "resourceType": "Patient",
      "compartment": {
        "reference": "%patient"
      }
    },
    {
      "resourceType": "Observation",
      "compartment": {
        "reference": "%patient"
      }
    },
    {
      "resourceType": "DiagnosticReport",
      "compartment": {
        "reference": "%patient"
      }
    },
    {
      "resourceType": "MedicationRequest",
      "compartment": {
        "reference": "%patient"
      }
    },
    {
      "resourceType": "Coverage",
      "compartment": {
        "reference": "%patient"
      }
    },
    {
      "resourceType": "PaymentNotice",
      "compartment": {
        "reference": "%patient"
      }
    },
    {
      "resourceType": "CarePlan",
      "compartment": {
        "reference": "%patient"
      }
    },
    {
      "resourceType": "Immunization",
      "compartment": {
        "reference": "%patient"
      }
    },
    {
      "resourceType": "Communication",
      "compartment": {
        "reference": "%patient"
      }
    },
    {
      "resourceType": "Organization",
      "readonly": true
    },
    {
      "resourceType": "Practitioner",
      "readonly": true
    },
    {
      "resourceType": "Schedule",
      "readonly": true
    },
    {
      "resourceType": "Slot",
      "readonly": true
    },
    {
      "resourceType": "Binary"
    }
  ],
  "resourceType": "AccessPolicy",
  "name": "defaultPatientAccessPolicy",
  "id": "[ACCESS_POLICY_ID]",
  "meta": {
    "versionId": "[VERSION_ID]",
    "lastUpdated": "2023-04-18T18:10:48.658Z",
    "author": {
      "reference": "Practitioner/[ADMIN_ID]",
      "display": "Team Hilo"
    },
    "project": "[PROJECT_ID]",
    "compartment": [
      {
        "reference": "Project/[PROJECT_ID]"
      }
    ]
  }
}
r
Hi @eamoneamoneam ! Right now enabling open-registration is a Super Admin feature, so you will need a medplum team member to set this up for you. If you could kindly DM me your project id and access policy id, I can go ahead and set that up for you
e
Ah i see! thanks, will do
159 Views