Skip to content
Snippets Groups Projects

feat: :cake: Invite Button

Merged Hannes Heine requested to merge invite-button into master

Created by: Mogge

:cake: Pullrequest

When INVITE_REGISTRATION is true a button shows up to the left of the avatar menu that opens a dropdown that shows the invite code.

Todo

  • Cleanup Backend when registration process is done. Remove unused queries and mutations. Check permissions of remaining queries ans mutations.

Merge request reports

Merged by avatar (Jun 14, 2025 2:43am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 1 SENTRY_DSN_WEBAPP=
2 2 COMMIT=
3 3 PUBLIC_REGISTRATION=false
4 INVITE_REGISTRATION=true
  • Hannes Heine
  • Hannes Heine
    Hannes Heine @Elweyn started a thread on commit 3c908e14
  • 123 123 isValidInviteCode: allow,
    124 124 queryLocations: isAuthenticated,
    125 125 availableRoles: isAdmin,
    126 getInviteCode: isAuthenticated, // and inviteRegistration
  • Hannes Heine
  • Hannes Heine
    Hannes Heine @Elweyn started a thread on commit 3c908e14
  • 22 22 },
    23 23 asyncData({ app }) {
    24 24 return {
    25 publicRegistration: app.$env.PUBLIC_REGISTRATION === 'true',
    25 publicRegistration: app.$env.PUBLIC_REGISTRATION,
  • Hannes Heine
  • Hannes Heine
  • Created by: ulfgebhardt

    Review: Approved

  • Merged by: ulfgebhardt at 2021-03-30 02:46:08 UTC

  • Please register or sign in to reply
    Loading