Skip to content

Implements authorization layer#45

Merged
IsaacIsrael merged 23 commits into
mainfrom
authorization
Apr 10, 2026
Merged

Implements authorization layer#45
IsaacIsrael merged 23 commits into
mainfrom
authorization

Conversation

@IsaacIsrael
Copy link
Copy Markdown
Owner

@IsaacIsrael IsaacIsrael commented Feb 16, 2026

  • chore: rename folder test to tests
  • chore: fix typos
  • feat: add features column to users table
  • feat: add default feature read:activation_token when creating user
  • feat: handle empty email list in orchestrator.getLastEmail()
  • feat: send activation email after user registration
  • feat: add activation.findOneValidById() and orchestractor.extractUUID()
  • feat: add PATCH /api/v1/activations/[token_id]
  • feat: add injectAnonymousOrUser and canRequest middlewares to /sessions
  • feat: require read:session to access /user endpoint
  • feat: require read:activation_token to access /api/v1/activations/[token_id]
  • feat: require create:user to access api/v1/users
  • feat: require update:user to access api/v1/users/[username]
  • feat: consider resource in authorization model
  • feat: allow update:user:others to update other users
  • refactor: update createSession to accept user object instead of user_id
  • feat: apply authorization.filterOutput() to all endpoints
  • feat: validate user, feature and resource in authorization model

Ignore the size of the PR and analyze commit by commit, once they are a step-by-step of the last classes

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clone-tabnews Ready Ready Preview, Comment Apr 9, 2026 4:56pm

@IsaacIsrael IsaacIsrael merged commit f69817d into main Apr 10, 2026
6 checks passed
@IsaacIsrael IsaacIsrael deleted the authorization branch April 10, 2026 05:37
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