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

tests for program edit access #660

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

tests for program edit access #660

wants to merge 2 commits into from

Conversation

tpolecat
Copy link
Member

This adds some tests for program edits (which for now include deletion). At this point anyone who can see the program can do anything. This implements access control for NGO roles, where you have access to programs if your partner has granted them time.

There is a disconnect between the model's Partner enum and the partner table in the database. I will circle back and fix that next.

This is in reference to #645

@tpolecat tpolecat marked this pull request as ready for review August 21, 2023 18:44
Copy link
Contributor

@swalker2m swalker2m left a comment

Choose a reason for hiding this comment

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

Looks good. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants