- Added ApiPlatformBundle to the project configuration. - Updated SettingsController to use custom access control for viewing and managing settings. - Modified AppFixtures to reflect new module structure and permissions for project management. - Adjusted ProjectStatus and ProjectTask entities to align with new permission checks. - Enhanced User entity to include a method for retrieving module permissions. - Implemented CleanupModulesCommand to deactivate or remove unimplemented modules. - Added CSRF protection configuration for forms. - Introduced property_info configuration for enhanced property handling. - Updated base template to include user module permissions in the frontend. - Created test_permissions.php for testing user permissions and roles.
12 lines
259 B
YAML
12 lines
259 B
YAML
# Enable stateless CSRF protection for forms and logins/logouts
|
|
framework:
|
|
form:
|
|
csrf_protection:
|
|
token_id: submit
|
|
|
|
csrf_protection:
|
|
stateless_token_ids:
|
|
- submit
|
|
- authenticate
|
|
- logout
|