feat: π° Implement Group GQL Model And CRUD Resolvers β First Step
Created by: Tirokk
π° Pullrequest
Implement group GQL model and CRUD resolvers β first step.
Issues
- relates #5131 (closed)
- relates #5059 (closed)
Todo
-
@Mogge suggestions: -
international
βglobal
-
remove wasSeede
-
-
GraphQL -
add group settings ( details see https://github.com/Ocelot-Social-Community/Ocelot-Social/issues/5059#user-content-group-settings ) -
owner/admin -
name (title) -
slug-name -
about (goal) -
description: -
minimal 100 chars
-
-
group type -
action radius -
location -
categories: 1-3 -
add relation CREATED
-
-
rename UserGroup
toUserRole
-
define resolver for: -
AvailableGroupTypes
-
AvailableGroupActionRadii
-
AvailableGroupMemberRoles
? -
UpdateGroup
-
DeleteGroup
-
-
Deletable
:-
What happens with their groups if users deletes their user profile?
-
-
-
resolvers: -
CreateGroup: -
test correct slugification
-
-
check for tests in: -
backend/src/middleware/permissionsMiddleware.spec.js -
backend/src/middleware/slugifyMiddleware.spec.js
-
-
-
seeding: -
seed a group
-
-
Neo4j database: -
how to add a slug
contraint forGroup
label?-
where is the slug
contraint forPost
andUser
label? Seebackend/src/db/migrate/store.js
-
-
-
cleanup: search for Wolle