Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Authentication and Authorization #2

Closed
6 tasks
jkarenzi opened this issue Jun 4, 2024 · 0 comments · Fixed by #6
Closed
6 tasks

Feat: Authentication and Authorization #2

jkarenzi opened this issue Jun 4, 2024 · 0 comments · Fixed by #6
Assignees
Labels
feature New feature or request

Comments

@jkarenzi
Copy link
Owner

jkarenzi commented Jun 4, 2024

Description/Stories

  • As a task management platform, we want to be able to enforce role-based access control throughout the application, so that a user is able to access only what they should, at a given time.

  • As a user, I want to be able to create a new account, and also log into the application

Tasks

  • Set up endpoints for user sign up and login
  • Define roles and permissions for normal users and admins
  • Implement an API endpoint for managing roles and permissions, and assigning new roles to users
  • Enforce role-based access control throughout the application
  • Implement appropriate error handling and responses
  • Write comprehensive unit tests

Definition of Done

  • user can create a new account and log into the application
  • admin can manage roles, and assign them to users
  • Comprehensive unit tests are written and passing
  • Code adheres to coding standards and best practices
  • API documentation for the resulting endpoints is completed
@jkarenzi jkarenzi added the feature New feature or request label Jun 4, 2024
@jkarenzi jkarenzi self-assigned this Jun 4, 2024
@jkarenzi jkarenzi changed the title Feature: Authentication and Authorization Feat: Authentication and Authorization Jun 4, 2024
jkarenzi added a commit that referenced this issue Jun 10, 2024
- implement endpoints for login and signup
- implemented middleware for authenticating token and also checking if a user has the necessary role s to access a route

[Delivers #2]
jkarenzi added a commit that referenced this issue Jun 10, 2024
- implement endpoint for user signup and login
- implement middleware for authenticating jwt tokens
- implement role checking middleware

[Delivers #2]
@jkarenzi jkarenzi linked a pull request Jun 10, 2024 that will close this issue
6 tasks
jkarenzi added a commit that referenced this issue Jun 10, 2024
Feat: Implement authentication and Authorization #2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant