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

41642 - Intake: task creation #21636

Merged
merged 54 commits into from
May 29, 2024
Merged

Conversation

IsaiahBar
Copy link
Contributor

Resolves Intake: task creation

Description

Limit Correspondence Task creation to only users within Inbound Ops Team so that, when reports are created to view all created tasks during intake, it will be only Inbound Ops users who created the tasks

app/models/user.rb Outdated Show resolved Hide resolved
db/seeds/users.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@HunJerBAH HunJerBAH left a comment

Choose a reason for hiding this comment

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

Some changes needed to keep plurality and naming consistent from before/after, but otherwise good work!

zurbergram
zurbergram previously approved these changes May 29, 2024
HunJerBAH
HunJerBAH previously approved these changes May 29, 2024
@HunJerBAH HunJerBAH dismissed stale reviews from zurbergram and themself via 2817851 May 29, 2024 16:46
@HunJerBAH HunJerBAH merged commit b978e27 into feature/APPEALS-36284 May 29, 2024
14 of 16 checks passed
@HunJerBAH HunJerBAH deleted the IsaiahBar/APPEALS-41642 branch May 29, 2024 16:48
Rnmarshall93 pushed a commit that referenced this pull request May 30, 2024
* new branch for inbound_ops_team_user changes

* more changes

* changes for database

* updated changes for InboundOpsTeam

* update inbound name

* update name

* update spec test

* remove comma

* namespace validation

* fixed plurality

* change namespace for correspondence verification

* fix plurality changes

* remove brackets

* fixing spec test

* update naming

* update spec tests... again :)

* update affilaited

* updated correspondence access check to handle if no user is present, and removed old checks that are not needed

* excluded admins from inbound ops team user check

* added comment for validation check

* added check for system users and allow system users to create correspondence tasks

* updated seeds and correspondence validation to check current session user

* fixed linting issues

* updated factory to sign out system user, removed other org checks from the controller validation, and added back in guard clause for correspondence intake task creation.

* reverted mail team change from inbound ops

* added saftey operator to system user check

* removed factory changes and added validations to correspondence create_from_params methods

* moved created methods to self and updated failing test

* fixed failing tests

* fixed failing correspondence tests

* fixed failing tests by adding test user back into MailTeam org

* fixed failing test in review package spec by adding back in MailTeam or  assignment

* updated failing tests and linting issues in tests

* fix linting issues in organization users scss

* pshing up linting fixes for correspondence.scss

* finish lint clean up

* fixed test failures

* resolved linting issues in stylesheet

* resolved failing test in intake spec

* resolved failing test

* fixed permission check to check current user

* fixed styling issue with pagination buttons

* removed Jolly Postman from seed data

* upped wait time.

* updated verify_correspondence_access to accept a user param

* fixed linting issues in _correspondence.scss

* fixed correspondence_intake_spec test and fixed linting issues on _correspondence.scss stylesheet

* fixed method name on inbound ops team seed member creation in correspondence_auto_assign.rb

---------

Co-authored-by: HunJerBAH <Jeremy.Hunton@va.gov>
Co-authored-by: HunJerBAH <99915461+HunJerBAH@users.noreply.github.com>
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.

None yet

3 participants