Skip to content

Setup roles and permissions and add CardsPreview component#4

Merged
claudemyburgh merged 1 commit into
mainfrom
feat-cards-preview-component-10150138644993085979
May 10, 2026
Merged

Setup roles and permissions and add CardsPreview component#4
claudemyburgh merged 1 commit into
mainfrom
feat-cards-preview-component-10150138644993085979

Conversation

@claudemyburgh
Copy link
Copy Markdown
Member

  • Install and configure spatie/laravel-permission.
  • Define super-admin, admin, and guest roles.
  • Restrict dashboard access to super-admin and admin.
  • Automatically assign super-admin role to the first user.
  • Add RolesAndPermissionsSeeder and include it in DatabaseSeeder.
  • Update DashboardTest to verify role-based access.
  • Add CardsPreview component to Home page for theme visualization.

- Install and configure `spatie/laravel-permission`.
- Define `super-admin`, `admin`, and `guest` roles.
- Restrict dashboard access to `super-admin` and `admin`.
- Automatically assign `super-admin` role to the first user.
- Add `RolesAndPermissionsSeeder` and include it in `DatabaseSeeder`.
- Update `DashboardTest` to verify role-based access.
- Add `CardsPreview` component to Home page for theme visualization.

Co-authored-by: claudemyburgh <6057076+claudemyburgh@users.noreply.github.com>
@claudemyburgh claudemyburgh merged commit 818d73d into main May 10, 2026
0 of 4 checks passed
@claudemyburgh claudemyburgh deleted the feat-cards-preview-component-10150138644993085979 branch May 15, 2026 20:22
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