Show jobs in basic view

There are some teams who send jobs on a daily/weekly basis. They have
team members who only use Notify for this purpose. So they would
probably benefit from basic view, because they don’t need to see the
dashboard.

This commit:
- adds a new item (uploaded files) to the basic view navigation for
  teams that have sent at least one job
- makes the job pages visible to basic view users

I think we should do this now, rather than as a later enhancement to
basic view. We only have one chance to announce the feature, so teams
who do send jobs may otherwise discount it as not useful for them and
the opportunity to have them use it is lost.
This commit is contained in:
Chris Hill-Scott
2018-07-30 17:40:32 +01:00
parent b35f6e9d5f
commit c551ce9a42
15 changed files with 205 additions and 36 deletions

View File

@@ -519,6 +519,10 @@ class CaseworkNavigation(Navigation):
'view_notifications',
'view_notification',
},
'uploaded-files': {
'view_jobs',
'view_job',
},
}
exclude = {
@@ -712,10 +716,8 @@ class CaseworkNavigation(Navigation):
'verify',
'verify_email',
'verify_mobile',
'view_job',
'view_job_csv',
'view_job_updates',
'view_jobs',
'view_letter_notification_as_preview',
'view_letter_template_preview',
'view_notification_updates',