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

Develop Role-Based Access Control (RBAC) Description: #4

Open
ANJALIJAISWAL4213 opened this issue Dec 15, 2024 · 5 comments
Open

Develop Role-Based Access Control (RBAC) Description: #4

ANJALIJAISWAL4213 opened this issue Dec 15, 2024 · 5 comments
Assignees

Comments

@ANJALIJAISWAL4213
Copy link
Collaborator

Implement role-based access control to ensure users can only access features permitted by their roles.

Tasks:

Define roles in the system (Admin, Manager, Contributor).
Write middleware to verify user roles before granting access to routes.
Restrict sensitive operations (e.g., campaign edits) to specific roles.
Add a role field in the User model and seed test users with various roles.
Document how roles are assigned and used in the platform.

Estimated Time: 72 hours

Note:Please claim this issue

@PriyamJChakrabarty
Copy link

claim

@anubhabnath098
Copy link
Contributor

@PriyamJChakrabarty share updates on your task

@PriyamJChakrabarty
Copy link

Hello @anubhabnath098 Almost Done

Will release a PR soon

@PriyamJChakrabarty
Copy link

/info

@Opencodeiiita-Bot
Copy link

User Repo
PriyamJChakrabarty SponsoHive-Backend (1), SponsoHive-Frontend (1)
anubhabnath098 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants