5sControl / 5sControl/5s-frontend
Разделить роли пользователей
- Langage dominant
- TypeScript
- Étoiles
- 3
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Предлагаю в приложении разделить роли пользователей:
1. Админ, который может работать с конфигурацией, настраивать приложение, редактировать сущности в заказах, менять тайм спаны, смотреть отчеты.
2. Рабочий, которому доступен только следующий путь - вход в приложение, войти во вкладку orders, выбрать нужный заказ, зайти в необходимую операцию, установить время старта/финиша.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react, typescript
- Domaine
- authentication, authorization, backend-api-design
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100