plane
plane copied to clipboard
[WEB-2357] fix: remove viewer role from the platform
Issue Link: WEB-2357
Summary by CodeRabbit
-
New Features
- Introduced a comprehensive structure for managing user permissions, including new enumerations and types for better role management.
- Added hooks and services to facilitate user permission management within the application.
-
Improvements
- Enhanced role-based access control by tightening permissions across various endpoints, limiting access to specific user roles.
- Streamlined the permission management system, making it easier to handle user permissions dynamically.
-
Bug Fixes
- Corrected role assignments and default values for project and workspace members, ensuring consistent access levels.
-
Documentation
- Updated documentation to reflect changes in user permission structures and access controls.
Summary by CodeRabbit
-
New Features
- Enhanced role-based access control for inbox issues, restricting access and editing capabilities based on updated role thresholds.
- Introduced a new state management store for user permissions, streamlining permission handling within workspaces and projects.
-
Bug Fixes
- Corrected default role assignments for new members in workspaces and projects to align with updated role definitions.
-
Documentation
- Updated TypeScript declarations to reflect changes in user role management and permissions across various interfaces.
-
Chores
- Removed obsolete
VIEWER
role from the permission system to streamline user access levels.
- Removed obsolete