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

[FEATURE] Add Authentication and Authorization #93

Closed
1 task done
Ishratnoori opened this issue Oct 28, 2024 · 2 comments
Closed
1 task done

[FEATURE] Add Authentication and Authorization #93

Ishratnoori opened this issue Oct 28, 2024 · 2 comments
Labels
status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet)

Comments

@Ishratnoori
Copy link

Is this feature already requested?

  • I have checked "open" and "closed" issues, and this is not a duplicate.

Problem or Missing Functionality

Currently, there’s no authentication or authorization to control access based on user roles. Adding this will improve security and help manage actions specific to roles (e.g., admin, librarian, and member).

Feature Description

I suggest implementing authentication with role-based access control. This feature will restrict certain actions based on user roles, ensuring that only authorized users can perform specific tasks. Using Spring Security, we can set up roles and permissions to add a layer of security and enhance user management.

Screenshots

No response

Would you like to work on this feature?

Yes

Implementation Plan

I plan to use Spring Security to implement login, registration, and role-based access control. I'll define roles (e.g., admin, librarian, member) and set permissions accordingly to secure relevant endpoints.

@Ishratnoori Ishratnoori added the status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet) label Oct 28, 2024
Copy link

👋 Thank you @Ishratnoori for raising an issue! We’re thrilled to have your input as we work to make this project even better. Our team will review it shortly, so stay tuned! Meanwhile, make sure your issue gets noticed, don’t forget to star the repo 🌟 and follow @ajaynegi45 for even more project insights!

@Guhapriya01
Copy link
Collaborator

Thank you @Ishratnoori for your feature request!

The functionality you've suggested is already implemented in our current configuration. We’ve used Spring Security to secure endpoints and manage actions based on user roles (e.g., admin, librarian, member). Our WebConfiguration class includes all the necessary settings for secure access control, login, and session management.

Therefore, I’ll proceed to close this issue. If you have specific requirements or additional role configurations in mind, please let us know. Thanks for your interest in improving the project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet)
Projects
None yet
Development

No branches or pull requests

2 participants