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

User registration update #53

Merged
merged 8 commits into from
Feb 10, 2022
Merged

Conversation

mthombare
Copy link

@mthombare mthombare commented Feb 10, 2022

Purpose

  • While user registration user should be able to auto-approved or admin approved depending on the organization and get attach respective group permission

Approach

  • Updated the create function to validate organization and add respective group permission to the user

Further Info

Ticket number: #53

@yasmin2496 of the person or team responsible for reviewing proposed changes.

@mthombare mthombare added the enhancement New feature or request label Feb 10, 2022
@mthombare mthombare added this to the Sprint-7-Feb milestone Feb 10, 2022
@mthombare mthombare self-assigned this Feb 10, 2022
@mthombare mthombare linked an issue Feb 10, 2022 that may be closed by this pull request
2 tasks
@mthombare mthombare changed the title User registration organization validation User registration update Feb 10, 2022
@yasmin2496 yasmin2496 merged commit 62b8af4 into master Feb 10, 2022
@RadhikaPPatel RadhikaPPatel deleted the feat#52/coreuser-registration branch March 11, 2022 05:52
glind pushed a commit that referenced this pull request Aug 2, 2022
* login with github

* added django template

* removed django template

* initial commit

* remove user groups

* updated urls

* initial commit

* Updated dependency issues

* Datamesh update (#11)

* Datamesh async fixed

* Datamesh join function script

* Email alert integration (#13)

* Integration - Email Notification

* Integration - Email Notification

* updated serializer

* updated unit test

* datamesh join script (#14)

* datamesh join script

* datamesh join script

* comment removed

* updated datamesh join script

* updated datamesh join script

* updated join_record_datamesh function

* removed print statement

* Partner implementation (#17)

* Partner Implementation

* removed organization

* removed partner organization

* removed partner organization

* - partner unit test

* - updated test fixtures

* - removed comment

* Resolve permissions for Organization

* fix core endpoint issue (#21)

* fix core endpoint issue

* updated comment

* Updated environment variables

* Updated environment values

* Handle for Gateway response 400

* datamesh join:
- product <-> third party tool and
- product <-> product_team

* completed project tool service datamesh join

* completed release service datamesh join

* completed dev/partner service datamesh join

* Fix Datamesh request issue

* updated admin username and password

* revert find endpoint fix

* updated datamesh join module name

* Added script to load datamesh

* Handled blank response for join records

* datamesh POST/PUT request implementation

* updated post request for different use-cases

* datamesh implemented delete request

* post empty response validation

* updated datamesh script for pk

* converted into functions

* updated put request

* updated PUT request for case -> The relation that exists but needs to create join

* Allow users to be auto-approved after registration

* added fields on Relationship model

* model via forward lookup

* param service name via forward_lookup

* written function for the case - Handles The relation that only needs to update ID or UUID

* Get response after a POST and PUT request

* refactor the functions

* updated func parameter

* issue fix - delete join

* delete status join

* migration file

* User Type Implementation (#45)

* added user type

* admin dashboard

* added survey_status

* serializer fields added

* help text

* User profile update API (#48)

* user profile update API

* updated get_permission

* unit test cases

* added serializer field

* serializer organization_name validation

* updated core-user serializer update method

* User registration update (#53)

* register with org validation

* uncommented invitation_token method

* updated load initial script for org creation

* set auto approve to false

* core user create method

* default org name

* added new var to update

* code format

* updated gunicorn timeout

* removed unwanted files from upstream pr

* updated migration files

* added new line

* removed unwanted changes

* removed prepare_get_request() function

* updated DEFAULT_ORG to lowercase

* Fix None type DEFAULT_ORG issue

Co-authored-by: ashishkmishra36 <ashish.kumar@ajackus.com>
Co-authored-by: Ashish K Mishra <70134840+ashishkmishra36@users.noreply.github.com>
Co-authored-by: Yasmin Ansari <yasmin@ajackus.com>
Co-authored-by: mthombare <83965396+mthombare@users.noreply.github.com>
Co-authored-by: manish <manish.thombare@ajackus.com>
Co-authored-by: Yasmin Ansari <yasmin.ansari@ajackus.com>
Co-authored-by: Greg Lind <gwlind@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Core-user registration
2 participants