Skip to main content

provision_orcid_workflow_entry

Function provision_orcid_workflow_entry 

Source
pub fn provision_orcid_workflow_entry(
    connection: &mut PgMetadataConnection,
    requester_orcid: &str,
    oauth_group_role: &str,
) -> Result<String, PgMetaError>
Expand description

Creates or reuses the requester’s login role and grants inheriting membership in the configured OAuth group role.