Open vahidqo opened 2 years ago
Dear all, could you please explain how to use Authorization? for example, how to set User Permissions and use it like this: {permissions === 'admin' && <TextInput source="role" validate={[required()]} />} bests,
{permissions === 'admin' && <TextInput source="role" validate={[required()]} />}
Dear all, could you please explain how to use Authorization? for example, how to set User Permissions and use it like this:
{permissions === 'admin' && <TextInput source="role" validate={[required()]} />}
bests,