Mutations
Mutations can be classified in a number of ways, including by the type of change that they introduce, the part of the page that they affect, or the manner in which they are introduced. Talawa API introduces mutation to alter it's value to a certain degree.
Mutations According to Roles
This document outlines our mutations and to which type of user each is constrained. Common types of mutations include insertions and deletions. Insertions are new changes to the Talawa API, while deletions removes.
Type Of Users in Talawa
This document outlines our mutations and to which type of user each is constrained
Type Of Users in Talawa
There are mainly 3 types of user types in Talawa -
-
SUPERADMIN
-
ADMIN
-
USER
Mutations Permitted by Roles.
The limits of each role's use of mutations are stated below:
SUPERADMIN
-
Below are the Mutations exclusive to the SUPERADMIN type. Please note, a few of these mutations have a few extra criteria regarding user access. For example, except for the createOrganization mutation, all other mutations require the SUPERADMIN to also be the creator of the orgnanization.
blockPluginCreationBySuperadmin
createAdmin
createOrganization
- When a superadmin creates and organization, he/she will also be one of theadmins
andcreator
of that Organization. Therefore, the Mutations in the next Sections also apply to Super Admin.rejectAdmin
removeAdmin
removeOrganization
updateUserType
togglePostPin
ADMIN
-
An Admin of an organization is permitted to make the following Mutations in that Organization-
acceptMembershipRequests
addOrganizationImage
addUserToGroupChat
adminRemoveEvent
adminRemoveGroup
blockUser
rejectMemberShipRequests
removeDirectChat
removeMember
removeOrganizationImage
removeUserFromGroupChat
unblockUser
updateOrganization
togglePostPin
USER -
All other Mutations except those exclusive to Admin and Super Admin can be accessed by the User type.
To be updated whenever new mutations are added