# V1 and V2 permissions (generated by npm run parity:permissions)

## admin -> system_admin

44 abilities in V1.

Not carried over: 
- submit:claims: V1 never used this key
- manage:tp-smtp: Provider SMTP is removed, as you asked
- delete:trainees: No withdrawal and no replacement (client decision)

New or split keys in V2: user.view, target.view, target.manage, trainee.view_pii, roster.freeze, attendance.correct.request, attendance.correct.approve, outcome.review, outcome.resubmit.approve, kpi.recompute, verification.view_subjects, verification.plan, verification.record, verification.finalize, grievance.manage, notification.manage, report.view, report.export, datahealth.view

## edi -> edi_viewer

9 abilities in V1.

Not carried over: nothing

New or split keys in V2: target.view, outcome.view, report.view, report.export

## me -> me_lead

21 abilities in V1.

Not carried over: 
- submit:claims: V1 never used this key

New or split keys in V2: masterdata.manage, user.view, audit.view, provider.manage, provider.contract.manage, target.view, target.manage, training.manage, class.schedule.manage, holiday.manage, trainee.view_pii, roster.freeze, attendance.correct.approve, outcome.review, outcome.resubmit.approve, kpi.recompute, verification.view_subjects, verification.plan, verification.finalize, grievance.manage, notification.manage, report.view, report.export, datahealth.view

## tp -> tp_admin

24 abilities in V1.

Not carried over: 
- view:indicators: Indicators are for M&E roles only (client decision)
- submit:claims: V1 never used this key
- view:verification: Providers see nothing of verification (client decision)
- manage:tp-smtp: Provider SMTP is removed, as you asked

New or split keys in V2: trainee.view_pii, attendance.correct.request, report.view, report.export, datahealth.view

## world_bank -> funder_viewer

15 abilities in V1.

Not carried over: 
- manage:tps: A funder should not edit providers (decision R-15)
- submit:outcomes: A funder should not submit outcome reports (decision R-15)

New or split keys in V2: target.view, report.view, report.export, verification.view_subjects

## tp_site_lead -> tp_site_lead

17 abilities in V1.

Not carried over: 
- view:indicators: Client decision

New or split keys in V2: trainee.view_pii, attendance.correct.request, outcome.view, report.view, datahealth.view

## tp_attendance_clerk -> tp_attendance_clerk

5 abilities in V1.

Not carried over: nothing

New or split keys in V2: provider.view, trainee.view_pii, attendance.correct.request

## tp_outcomes_officer -> tp_outcomes_officer

6 abilities in V1.

Not carried over: 
- view:indicators: Client decision
- submit:claims: V1 never used this key

New or split keys in V2: provider.view, trainee.view_pii, attendance.view, outcome.view, report.view

## tp_readonly -> tp_viewer

8 abilities in V1.

Not carried over: 
- view:indicators: Client decision

New or split keys in V2: outcome.view, report.view
