5sControl / 5sControl/5s-frontend
Разделить роли пользователей
- Lenguaje dominante
- TypeScript
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Предлагаю в приложении разделить роли пользователей:
1. Админ, который может работать с конфигурацией, настраивать приложение, редактировать сущности в заказах, менять тайм спаны, смотреть отчеты.
2. Рабочий, которому доступен только следующий путь - вход в приложение, войти во вкладку orders, выбрать нужный заказ, зайти в необходимую операцию, установить время старта/финиша.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react, typescript
- Área
- authentication, authorization, backend-api-design
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100