Skip to content

Implement Role-Based Authorization #7

@amritmaurya1504

Description

@amritmaurya1504

Description

Enhance the System by implementing role-based authorization. Only users with the Admin role should be allowed to:

  • Add tables
  • Add categories (if available)
  • Update orders

Regular employees should have restricted access and should not be able to perform these actions.

Acceptance Criteria

  • Implement role-based access control (RBAC).
  • Restrict table and category creation to admins only.
  • Restrict order updates to admins only.
  • Ensure non-admin users cannot access these functionalities.
  • Implement proper authentication and authorization checks.
  • Return appropriate error messages when unauthorized actions are attempted.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions