-
-
Notifications
You must be signed in to change notification settings - Fork 791
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
Admin: Fix the usage of userType #1445
Comments
Would like to work on this issue. |
would like to work on this issue! Pls assign |
would like to work in this issue! |
I would like to work on this issue. |
Can i work on this? |
@KoraboinaSankeerth
|
Unassigning due to no PR activity or assignee comments in the past 10 days |
I would like to work on this issue |
@NayOoLwin5 You currently have 2 issues. Our policy is to assign no more than two issues to each contributor across all repositories. This way everyone gets a chance to participate in the projects. We sometimes give exceptions for more urgent cases and sometimes we lose track, but the policy stands. You have reached your limit, please wait until your existing issues are closed before requesting more issues. You could unassign yourself from one of the other issues too. |
Hey,I currently have semester end examinations,assign me the task.I would
be able to work on the issue from 2 feb
…On Sun, Jan 28, 2024, 20:36 Crystian I ***@***.***> wrote:
@NayOoLwin5 <https://github.com/NayOoLwin5> You currently have 2 issues.
Our policy is to assign no more than two issues to each contributor across
all repositories. This way everyone gets a chance to participate in the
projects. We sometimes give exceptions for more urgent cases and sometimes
we lose track, but the policy stands. You have reached your limit, please
wait until your existing issues are closed before requesting more issues.
You could unassign yourself from one of the other issues too.
—
Reply to this email directly, view it on GitHub
<#1445 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYER33QOEYQTHKIUWEWRLFLYQZSN7AVCNFSM6AAAAABB62FZPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGYZDOMBUHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I would like to work on this issue. Thanks. |
@KoraboinaSankeerth I'm going to give someone else a chance with this issue. When your exams are done, please check back for open issues, we would love to collaborate with you. |
I need to check the userType of the User which could be either of these USER, NON_USER, ADMIN, SUPER_ADMIN and I need to change the code accordingly. Am I right? |
The issue description covers what you need to do. Read it carefully |
Unassigning myself. |
Would like to solve this @Cioppolo14 |
I didnt get your point. |
In Talawa mobile App I have made logical changes according to how we are saving User details in the app now just some queries need to updated and then we will be good merge it with develop mobile branch |
okay but work is still left in this repo. |
@palisadoes we need to reopen this. |
Your most recent PR was merged. Please open the next one in the set |
Adding @AdityaRaimec22 to this thread for context. Follow up API work that needs to be done |
@palisadoes Yeah I have changed the logic in orgList screen but some tests are failing I have to fix those and then I will create a PR for that. |
Is there a lot of work outstanding to begin the merge back into |
@palisadoes yes for each screen I have to fix the tests as well as some logical changes are made in the codebase, so it will take some time. |
@palisadoes admin repo extensively used user type field and other which are moved to appUserProfile ,it will require lot of changes |
@Dante291 after changing existing queries and mutation you have to lookout for the new merges in the mobile repo which woul require change accordingly until we merge it in develop |
@adi790uu I would suggest you list down the screens which are decoupled from one another so that we can open issues and multiple people can work parallely on this |
That would be the best approach. @adi790uu Please create a list for this and post it here. We can use it too create a more efficient approach |
@palisadoes @AVtheking Okay I will create a list of changes required and post it here today. |
Please remember this so we can share the load |
The changes will be done in mutations, queries, mocks, tests and components used in these screens mainly. list of screens which require changes : 1.MemberDetail there might be some screens where changes might not be required as some queries and mutations are being reused. @palisadoes |
@palisadoes I have been working on OrgList the tests for this screen are taking time to be resolved but as soon as it is done will create a PR for it. |
@palisadoes I have tried fixing the tests for Org List and it just doesn't work, will it be fine if I leave the tests and create a PR and move on to other components and at last comeback to the tests which are consuming a lot of time fixing? |
Historically the code gets bad very quickly when we ignore testing. This is an are in which we cannot compromise |
|
NOTE
Describe the bug
userType
by organization.userType
is currently a part of theUser
definition not part of auserOrganization
definition or something similar.Admin
is anAdmin
for all organizations which grants the same rights as aSuperAdmin
. This is not the intention.Admin
andSuperAdmin
roles.This needs to be resolved as it is a showstopper bug.
Expected behavior
These conditions must apply:
userType
must be applied per person per organization.SuperAdmin
must be aSuperAdmin
for all organizationsuserType
s would be on a per organization basisThis means that all code logic referencing the
userType
will need to be updated accordingly.TALAWA API
Additional considerations include:
userType
USER
if not done so alreadyTALAWA ADMIN
Additional considerations include:
TALAWA MOBILE
No expected changes as userType isn't referenced in the code base
Actual behavior
userType
by organization.Screenshots
The current schema:
Additional details
Related issues:
adminApproved
to expected functionality in thedevelop-userTypeFix
branch talawa-api#1862develop-userTypeFix
branch with the latest features fromdevelop
- Fundraising / Recurring Events talawa-api#1904Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
The text was updated successfully, but these errors were encountered: