How "user scope" options map to user details?
Managing users
const localSystemAdmin = {
id: 'LOCAL_SYSTEM_ADMIN',
label: {
defaultMessage: 'Administrator',
description: 'Name for user role Administrator',
id: 'userRole.administrator'
},
scopes: defineScopes([
{ type: 'user.create', options: { accessLevel: 'administrativeArea', role: ['HOSPITAL_CLERK', 'COMMUNITY_LEADER', 'REGISTRATION_AGENT', 'LOCAL_REGISTRAR', 'PROVINCIAL_REGISTRAR'] } },
{ type: 'user.edit', options: { accessLevel: 'administrativeArea', role: ['HOSPITAL_CLERK', 'COMMUNITY_LEADER', 'REGISTRATION_AGENT', 'LOCAL_REGISTRAR', 'PROVINCIAL_REGISTRAR'] } },
{ type: 'user.read', options: { accessLevel: 'administrativeArea' } },
{ type: 'user.search', options: { accessLevel: 'administrativeArea' } }
])
},

Last updated