Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor(auth): authorization and permission system #199

Conversation

rutajdash
Copy link
Member

@rutajdash rutajdash commented Aug 2, 2023

Description and Changes

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

  • Make sure you are requesting to pull a work/topic/feature/bugfix branch (right side). Don't request your default branch!
  • Make sure you are making a pull request against the development (left side). Also you should start your branch off default branch and follow the branch naming guidelines.
  • Check the commit's or even all commits' message styles matches our requested structure.
  • Check your code additions will fail neither code linting checks nor unit test.
  • I have added necessary documentation and mentioned the related issues (if appropriate)
  • I have added the appropriate labels, requested a review from a repository manager and assigned myself to this pull request.

Post merge checklist

@rutajdash rutajdash added enhancement New feature or request wip Work in Progress safe-for-checks This pull request is safe for actions labels Aug 2, 2023
@rutajdash rutajdash requested a review from 120EE0692 August 2, 2023 20:07
@rutajdash rutajdash self-assigned this Aug 2, 2023
@rutajdash
Copy link
Member Author

@120EE0692 roles updated for user create, link and verify for basic and verified accounts.
As per plan, for MM Members, the roles will be custom assigned as per team and requirement.

@120EE0692 120EE0692 merged commit d393501 into Monday-Morning:feat/onboarding Aug 6, 2023
@rutajdash rutajdash deleted the chore/update-roles-permissions branch September 1, 2023 17:42
120EE0692 added a commit that referenced this pull request Sep 26, 2023
* chore: fix graphql user for boarding (#180)

* chore: fix graphql user for boarding

* chore: remove additional info

* feat: config imagekit

* chore: use image kit

* feat: add deletebyid datasource

* fix: update user details

* chore: remove add store path

* feat: add update user profile pic mutation

* feat: add update user profile picture resolver

* feat: add condition check

* chore: change type to int

* fix: update user profile picture

* chore: change data type

* feat: remove add store path

* feat: webmail authentication userflow (#183)

* fix: media datasources

* fix: media resolver

* fix: remove imageKitFileID

* feat: user webmail authentication

* fix: set bounded cache for apollo server

* fix:(eslint): remove unused variables

* feat: link migrated user

* feat: checkNITRMail query and resolver

* fix: add load to find by email (#186)

* fix: add load to find by email

* feat: add nodemon

* chore: merge changes from main branch (#188)

* fix: revert package upgrades due to bug

* chore: formatting fixes in package.json

* fix: missing keyword in article resolver

* feat: server API key access (#190)

* refactor: jwt to authToken and x-api-key

* fix(user-resolver): incorrect function params

* chore: update cors and firebase config

* refactor(auth): authorization and permission system (#199)

* chore: update roles and permissions documentation

* chore: add admin field to permissions

* chore: comment out poll system as TODO

* refactor(user): new permission logic

* refactor(squiggle): new permission logic

* refactor(tag): new permission system

* refactor(media): new permission system

* refactor(issue): new permission system

* refactor(article): new permission system

* fix(user): logic in read write check utils

* fix(auth): superadmin roles and bug fixes

* feat(roles): update on user create, link and verify

* feat(env): configure dotenv vault

* chore: add jsconfig

* fix(user): typo in user roles

* chore(issue): add typename in public fields (#201)

* chore(issue): add typename in public fields

* chore: format code

* feat(cors): convert to env variable

* fix(user): update list all user permission (#202)

* chore: rebase onboarding with main (#203)

* fix: revert package upgrades due to bug

* fix(admin): graphql article schema (#182)

* chore: use category number

* fix: create article datasource

* fix: update user datasource

* feat: add update cover mutation

* feat: set new issue publish status true

* fix: handle edge case in create update object

---------

Co-authored-by: Rutaj Dash <33367546+rutajdash@users.noreply.github.com>

---------

Co-authored-by: Rutaj Dash <33367546+rutajdash@users.noreply.github.com>
Co-authored-by: Ashish Padhy <100484401+Shurtu-gal@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request safe-for-checks This pull request is safe for actions wip Work in Progress
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat: return partial data for error cases Use Firebase Account Linking
2 participants