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

Add abilities to valuator model for comment and edit dossiers #3437

Merged
merged 1 commit into from
Jun 11, 2019
Merged

Add abilities to valuator model for comment and edit dossiers #3437

merged 1 commit into from
Jun 11, 2019

Conversation

abelardogilm
Copy link
Contributor

References

#3428

Objectives

Adding that new abilities, admin users can manage valuators to allow them to comment or edit dossier information, enabling and updating the resource. With that, we can have a new type of valuator that can only make evaluation comments, or can only edit dossiers, or can do both. And it will allow to create new abilities easily in future feautures

Visual Changes

Admin

  • valuators
    image

  • valuator edit
    image

  • valuator show (with checks enabled)
    image

  • valuator show (without checks enabled)
    image

Valuator

  • Can comment && !can edit dossier
    image

  • Can edit dossier && !can comment
    image

  • Can comment && can edit dossier
    image

  • !Can comment && !can edit dossier
    image

Notes

By default, but properties will be set as enabled to allow current users have current functionality
Admin users will be allowed to comment and edit dossiers.

@abelardogilm abelardogilm changed the title WIP: Add abilities to valuator model for comment and edit dossiers Add abilities to valuator model for comment and edit dossiers Apr 15, 2019
@abelardogilm
Copy link
Contributor Author

Failing SPEC: rspec ./spec/features/comments/budget_investments_spec.rb:404
I run it on local and pass, run describe container and pass, but runnign file suite fail randomly

As this spec is not in that PR, I think we need to investigate it to tag it as flaky test,

@javierm
Copy link
Member

javierm commented Jun 6, 2019

@abelardogilm Fixed by #3596 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

4 participants