Closed adam-soltech closed 2 months ago
@adam-soltech I believe you can leave the following code,
this.service.privileges .for(session, ProjectMember, existing) .verifyChanges(changes);
back in the service file. @bryanjnelson mentioned that the code related to privileges checking don't have to move to the repo at this time. This will allow you to also remove the service file from the constructor and import list which should then resolve the test files from breaking too. Let me know if you want to discuss.
Yes, you'll need to leave that privileges.for
call in there. Also, it looks like that entire method was gutted. It should still contain one read and one update (along with the getActualChanges
and verifyChanges
calls - see the Wiki Page). I am unsure about the assertValidRoles
call. I think that should stay, but I'll let @CarsonF weigh in on that for certainty.
Closing in favor of #3204
Monday task
Reason for this PR
Migrate Project Member Queries to edgedb
Description
Ready for review checklist