5sControl / 5sControl/5s-frontend
Разделить роли пользователей
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Предлагаю в приложении разделить роли пользователей:
1. Админ, который может работать с конфигурацией, настраивать приложение, редактировать сущности в заказах, менять тайм спаны, смотреть отчеты.
2. Рабочий, которому доступен только следующий путь - вход в приложение, войти во вкладку orders, выбрать нужный заказ, зайти в необходимую операцию, установить время старта/финиша.
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- authentication, authorization, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100