Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions src/api/workqueue/workqueueConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,17 +161,16 @@ export const Workqueues = defineWorkqueues([
description: 'Title of sent for review workqueue'
},
query: {
status: {
type: 'anyOf',
terms: ['DECLARED', 'NOTIFIED']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still expect that this should contain VALIDATED as well, but could be I'm wrong! :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed in here

},
flags: {
noneOf: [InherentFlags.REJECTED]
},
createdBy: { type: 'exact', term: user('id') }
},
actions: [
{
type: 'DEFAULT',
conditionals: []
}
],
actions: [],
columns: [
DATE_OF_EVENT_COLUMN,
{
Expand Down
9 changes: 7 additions & 2 deletions src/data-seeding/roles/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,20 @@ export const roles: Role[] = [
SCOPES.RECORD_DECLARE_MARRIAGE,
SCOPES.RECORD_SUBMIT_INCOMPLETE,
SCOPES.RECORD_SUBMIT_FOR_REVIEW,
SCOPES.RECORD_PRINT_ISSUE_CERTIFIED_COPIES,
SCOPES.SEARCH_BIRTH,
SCOPES.SEARCH_DEATH,
SCOPES.SEARCH_MARRIAGE,
SCOPES.USER_READ_ONLY_MY_AUDIT,
'search[event=birth,access=all]',
'search[event=death,access=all]',
'search[event=tennis-club-membership,access=all]',
`record.create[event=birth|death|tennis-club-membership]`,
'workqueue[id=assigned-to-you|recent|sent-for-review|ready-to-print]',
'record.create[event=birth|death|tennis-club-membership]',
'record.read[event=birth|death|tennis-club-membership]',
'record.declare[event=birth|death|tennis-club-membership]',
'record.notify[event=birth|death|tennis-club-membership]'
'record.notify[event=birth|death|tennis-club-membership]',
'record.registered.print-certified-copies[event=birth|death|tennis-club-membership]'
]
},
{
Expand Down
Loading