Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(move): Grant OCA user ability to move from prison to SCH and STC #824

Merged

Conversation

solidgoldpig
Copy link
Contributor

Implements P4-2254

Proposed changes

What changed

Grants ability to OCA user to create moves from prison to SCH and STC

Why did it change

So that OCA users can request youth moves

Issue tracking

Screenshots

Before After
Where_is_this_person_moving__-_Create_a_move Where_is_this_person_moving__-_Create_a_move

Checklists

Testing

Automated testing

  • Added unit tests to cover changes
  • Added end-to-end tests to cover any journey changes

Manual testing

Has been tested in the following browsers:

  • Chrome
  • Firefox
  • Edge
  • Internet Explorer

Environment variables

  • No environment variables were added or changed

Other considerations

@teneightfive teneightfive temporarily deployed to booksecuremove-pr-824 September 29, 2020 14:49 Inactive
@codeclimate
Copy link

codeclimate bot commented Sep 29, 2020

Code Climate has analyzed commit c7a0a92 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 97.3% (0.0% change).

View more on Code Climate.

@@ -87,6 +87,8 @@ const ocaPermissions = [
'move:view',
'move:create',
'move:create:prison_transfer',
'move:create:secure_childrens_home',
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we get some E2E tests for these additions, so that we're protected in the future if requirements change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added issue #827

@solidgoldpig solidgoldpig merged commit 5436f24 into master Sep 30, 2020
@solidgoldpig solidgoldpig deleted the P4-2254-grant-oca-user-ability-to-move-to-sch-and-stc branch September 30, 2020 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants