integreat-cms
integreat-cms copied to clipboard
Hide analytics for autor and event manager
Short description
Availability of analysis menu will be changed as below: - Management: statistics (if enabled), translation report, feedback, broken links - Editor: translation report, broken links - Autor: none - Event manager (Terminplaner): none
Proposed changes
- create new permissions "view_translation_report" etc by introducing a dummy model "PermissionManager" (because there is no related model except feedback).
- use permission check to show/hide analytics menus.
Side effects
- so far not found
Resolved issues
Fixes: #1746
Code Climate has analyzed commit 467fa590 and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 74.3% (0.0% change).
View more on Code Climate.