Skip to content

feat(server): name a repository's admin at creation - #154

Open
PiquelChips wants to merge 1 commit into
feat/ci-pluginsfrom
feat/ci-repo-admin
Open

PiquelChips wants to merge 1 commit into
feat/ci-pluginsfrom
feat/ci-repo-admin

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

A repository made with origin repo create has no [grants], so no one may change its policy over the API: only the server's operator can, by landing through the repository's path. A hosted repository needs an admin who works remotely from the start.

origin repo create --admin <principal> writes a first policy whose [grants] make that principal the admin, and still let everyone land and annotate, as without grants.

Note

Written by Claude Opus 5.5 in Claude Code (via T3 Code)

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 34 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 78d89fe0-ae14-4e09-8562-7691be3e41cc
Commits

Reviewing files that changed from the base of the PR and between 144bb86 and 935dfbc.

Files selected for processing: 10

  • README.md
  • apps/origin-src/benches/permissions.rs
  • apps/origin-src/benches/server.rs
  • apps/origin-src/benches/sync.rs
  • apps/origin-src/src/cli.rs
  • apps/origin-src/src/policy.rs
  • apps/origin-src/src/server.rs
  • apps/origin-src/src/service.rs
  • apps/origin-src/src/workspace/mod.rs
  • apps/origin-src/tests/http.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@PiquelChips
PiquelChips added this pull request to stack #165 November 22, 2026 14:59
@PiquelChips
PiquelChips force-pushed the feat/ci-repo-admin branch 2 times, most recently from 8b77e59 to 6193a81 Compare November 22, 2026 18:54
A repository `origin repo create` makes has no `[grants]`, so no one may
change its policy over the API: only the server's operator can, by
landing through the repository's path. A hosted repository needs an
admin who works remotely from the start.

`origin repo create --admin <principal>` writes a first policy whose
`[grants]` make them the one admin, and let everyone land and annotate
as before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant