5sControl / 5sControl/5s-frontend
Разделить роли пользователей
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Предлагаю в приложении разделить роли пользователей:
1. Админ, который может работать с конфигурацией, настраивать приложение, редактировать сущности в заказах, менять тайм спаны, смотреть отчеты.
2. Рабочий, которому доступен только следующий путь - вход в приложение, войти во вкладку orders, выбрать нужный заказ, зайти в необходимую операцию, установить время старта/финиша.
Beitragsleitfaden
Rechercherichtung
The issue describes adding role-based access control (Admin and Worker). Look for existing authentication logic, user models, and route guards. Check how the 'orders' page and configuration sections are currently protected. Implementing this will involve defining roles, modifying backend permissions, and updating frontend UI to conditionally show/hide features based on role.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- authentication, authorization, backend-api-design
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100