AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

feat(admin): add self-host setup and user management page

Open JimmFly opened this issue 1 year ago • 4 comments

close AF-1044 AF-1043 AF-1042 AF-908

Added /admin/accounts path for managing accounts. The /admin/setup path has been added to create an administrator account for the first time, but the logic for the first time entry has not yet been added.

JimmFly avatar Jul 18 '24 09:07 JimmFly

Your org has enabled the Graphite merge queue for merging into canary

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

graphite-app[bot] avatar Jul 18 '24 09:07 graphite-app[bot]

  • #7840 Graphite
  • #7646 Graphite
  • #7611 Graphite
  • #7618 Graphite
  • #7619 Graphite
  • #7537 Graphite 👈
  • canary

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JimmFly and the rest of your teammates on Graphite Graphite

JimmFly avatar Jul 18 '24 09:07 JimmFly

Codecov Report

Attention: Patch coverage is 41.88034% with 68 lines in your changes missing coverage. Please review.

Project coverage is 55.48%. Comparing base (10f4eaf) to head (408ab7b).

Files Patch % Lines
packages/backend/server/src/core/user/resolver.ts 28.33% 43 Missing :warning:
...kages/backend/server/src/core/features/resolver.ts 26.31% 14 Missing :warning:
packages/backend/server/src/core/auth/resolver.ts 43.75% 9 Missing :warning:
...ges/backend/server/src/core/features/management.ts 50.00% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           canary    #7537      +/-   ##
==========================================
- Coverage   55.56%   55.48%   -0.08%     
==========================================
  Files        1018     1018              
  Lines       43558    43673     +115     
  Branches     5195     5202       +7     
==========================================
+ Hits        24203    24234      +31     
- Misses      18987    19071      +84     
  Partials      368      368              
Flag Coverage Δ
server-test 78.58% <37.03%> (-0.26%) :arrow_down:
unittest 26.98% <100.00%> (+0.03%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jul 18 '24 09:07 codecov[bot]

Merge activity

  • Aug 13, 1:43 AM EDT: forehalo added this pull request to the Graphite merge queue.
  • Aug 13, 2:02 AM EDT: The Graphite merge queue couldn't merge this PR because it was not satisfying all requirements (Failed CI: '3, 2, 1 Launch', 'Desktop Test (windows-latest, windows, x64, x86_64-pc-windows-msvc, true)').

graphite-app[bot] avatar Aug 13 '24 05:08 graphite-app[bot]