Skip to content

feat: 🍰 Implement Group GQL Model And CRUD Resolvers – First Step

Created by: Tirokk

🍰 Pullrequest

Implement group GQL model and CRUD resolvers – first step.

Issues

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 to UserRole
    • 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 for Group label?
      • where is the slug contraint for Post and User label? See backend/src/db/migrate/store.js
  • cleanup: search for Wolle

Merge request reports