Dynamically generate permissionsMap and channelPemissionsMap validation schemas in permissionsValidator.js #60
Labels
No labels
Bug
Cleanup/Refactor
Core Feature
Documentation
Feature
Performance Improvement
Security Improvement
UX/Accessibility
Unreproducable Bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rainbownapkin/canopy#60
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently when adding new permissions to canopy there are two steps:
If we checked the DB and dynamically filled the validation schema on startup it would only take a change of one file in one place to add new permission types to canopy
Permissions validation schemas now dynamically generate from database schemas:
1bf89e62e7