-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
Mobile: Fix the usage of userType #2373
Comments
@palisadoes @Cioppolo14 I would like to work on this, please assign me |
@palisadoes Do I make multiple PRs for this or single PR would work? |
As there would be large amount of files that are going to change and we are working on the admin side by spliting this issue in multiple follow up pr this would be better approach here also |
A single PR for all the changes will be impossible to properly review. Find ways to submit multiple smaller PRs. Large PRs lie dormant for weeks, even months. It's not a good approach. |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
@Dante291 are you still working on this ? |
Yeah i have raised a PR already |
@Dante291 The PR was merged. What else needs to be done? |
MemberDetail
Screen in the develop-userTypeFix
branch
PalisadoesFoundation/talawa-admin#1682
@palisadoes sorry for the late reply was busy with my sem exams, this PR fixed all the changes that was required to fix userType from the mobile side, this issue can be closed. |
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 alreadydevelop-userTypeFix
branchTALAWA ADMIN
Additional considerations include:
develop-userTypeFix
branchTALAWA MOBILE
develop-userTypeFix
branch.develop-userTypeFix
branchActual behavior
userType
by organization.Screenshots
The previouse API schema:
Additional details
Related issues and PRs:
develop-userTypeFix
branch with the latest features fromdevelop
- Fundraising / Recurring Events talawa-api#1904adminApproved
to expected functionality in thedevelop-userTypeFix
branch talawa-api#1862Potential 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: