Skip to content

Allow users register publications#653

Open
eleftherioszisis wants to merge 4 commits into
mainfrom
publication-user
Open

Allow users register publications#653
eleftherioszisis wants to merge 4 commits into
mainfrom
publication-user

Conversation

@eleftherioszisis

Copy link
Copy Markdown
Contributor

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
pytest 97.75% <100.00%> (ø)

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

Files with missing lines Coverage Δ
app/service/publication.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

db: SessionDep,
json_model: PublicationCreate,
user_context: AdminContextDep,
user_context: UserContextDep,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be useful to add a comment or a link to explain why the create endpoint allows any user, while update and delete endpoints still require AdminContextDep, to prevent accidental changes in the future.

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.

3 participants