You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Simplify usage for Admins, we add a new view for all notes
Implementation:
Add a new route notes/all, protect Route with middleware 'role: Admin'.
Edit app/Http/Controllers/NotesController.php and Fetch all notes with pagination (20 entrys, sorted by title alphabetically)
Add new link in navbar dropdown (right side), check Auth::user()->hasRole('Admin');
We only print overview data, so if user wants to see the full content, he has to visit the /notes/show/id route
Frontend:
The Format should be similar to the appended tables which are added in /home route (search stuff)
Add proper formatted table / panels / tabs / whatever to /notes/all page maybe assign frontend developer to that task.
The text was updated successfully, but these errors were encountered:
Idea:
To Simplify usage for Admins, we add a new view for all notes
Implementation:
Add a new route notes/all, protect Route with middleware 'role: Admin'.
Edit app/Http/Controllers/NotesController.php and Fetch all notes with pagination (20 entrys, sorted by title alphabetically)
Add new link in navbar dropdown (right side), check Auth::user()->hasRole('Admin');
We only print overview data, so if user wants to see the full content, he has to visit the /notes/show/id route
Frontend:
The Format should be similar to the appended tables which are added in /home route (search stuff)
Add proper formatted table / panels / tabs / whatever to /notes/all page maybe assign frontend developer to that task.
The text was updated successfully, but these errors were encountered: