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

Remove The Creation of Organizations in The App #710

Closed
palisadoes opened this issue Apr 24, 2021 · 5 comments
Closed

Remove The Creation of Organizations in The App #710

palisadoes opened this issue Apr 24, 2021 · 5 comments
Assignees

Comments

@palisadoes
Copy link
Contributor

palisadoes commented Apr 24, 2021

This will require coordination with the person working on talawa-admin installation

  1. The ability for any user to create new organizations in the mobile app must be removed. This removes the centralized control that many organizations want.
  2. Until further notice we want the creation of new organizations to be completely managed in the talawa-admin management portal.

This feature needs to be removed. The features below need to be added as part of this issue.

  1. The API will need to present all the organizations created by the Super Administrator
  2. The mobile app user must be able to browse and easily select any available organization presented in the API

Related Issues:

  1. Issue 236 - Talawa API
  2. Issue 19 - Talawa Admin
  3. Issue 710 - Talawa
@github-actions github-actions bot added the unapproved Unapproved, needs to be triaged label Apr 24, 2021
@sumitra19jha
Copy link
Contributor

I want to work on this

@sumitra19jha
Copy link
Contributor

sumitra19jha commented Apr 24, 2021

@palisadoes I have an idea that can help to address this issue from both the perspective of admin and the app user

In the user data model, we can add a new enum parameter called orgCreationAccessStatus with enum values

  1. Access : Allows user to create organisation
  2. Denied: Denied the user access to create organisation
  3. Waiting: This is for newly signup user whose status needs to be reviewed by the admin. In this status user cannot create the organisation

If admin set the field value of that parameter too Access, then only user can create the organisation. When user signup for the first time inside the app, the field parameter will set to Waiting. If admin don't want to give the user access it will be set to Denied.

This will also require following query and mutation modification in the backend.

  1. signUp
  2. createOrganization
  3. updateOrganization
  4. users
  5. usersConnection

There will be couples of changes in the frontend but I think the major work here lies in the backend.

@palisadoes palisadoes removed the unapproved Unapproved, needs to be triaged label Apr 24, 2021
@palisadoes
Copy link
Contributor Author

@sumitra19jha Are you still working on this? If not, we should let someone else get a chance

@sumitra19jha
Copy link
Contributor

Sure @palisadoes. I am not currently working on this, anyone interested can take up this issue.

@rutvik11062000
Copy link
Contributor

@palisadoes please assign it to me.

Ayush0Chaudhary pushed a commit to Ayush0Chaudhary/talawa that referenced this issue Mar 29, 2023
…ts.jsGroup (PalisadoesFoundation#710)

* Test : lib/resolvers/group_chat_query/groupChatMessages.js

* Add Test  : Added Valid JSON Check

* 🤖 TEST:    for  lib/resolvers/group_chat_query/groupChats.js

* 🤖 TEST:    for  lib/resolvers/group_chat_query/groupChats.js

* 🤖 TEST: Imrpoved Descriptions

* removed the extra file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants