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

Expense option bug fix #4899

Merged
merged 6 commits into from
Jun 23, 2023
Merged

Conversation

danaguilar
Copy link
Collaborator

What github issue is this PR for, if any?

Resolves #4890

What changed, and why?

Previous branch was changing the FeatureFlag directly, which was causing any admin to enable/disable the additional expense option for the entire application. That change was reverted and instead a column was added to the CasaOrg table that would enable/disable the additional expense option at a per organization level. This combined with the FeatureFlag was used for a new policy that took the place of the old FeatureFlag.

Also the System Settings page was removed and the ability to enable/disable additional expenses was added to the edit Organization page

How will this affect user permissions?

  • Volunteer permissions:
  • Supervisor permissions:
  • Admin permissions:

How is this tested? (please write tests!) 💖💪

Current tests were updated make use of this change

Screenshots please :)

VolunteersCanAddOtherEpxeneses

@github-actions github-actions bot added erb ruby Pull requests that update Ruby code Tests! 🎉💖👏 labels Jun 21, 2023
@danaguilar
Copy link
Collaborator Author

Haven't been able to reproduce that docker failure on my own docker tests yet. Figure it'll be one of those things that we'll tackle with the flaky bug tests issues

Copy link
Collaborator

@compwron compwron left a comment

Choose a reason for hiding this comment

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

seems reasonable :)

@compwron compwron merged commit ee6b18a into rubyforgood:main Jun 23, 2023
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
erb ruby Pull requests that update Ruby code Tests! 🎉💖👏
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Additional Expenses Toggle Does Not Respect Organization Boundaries
2 participants