integreat-cms icon indicating copy to clipboard operation
integreat-cms copied to clipboard

Hide analytics for autor and event manager

Open MizukiTemma opened this issue 2 years ago • 1 comments

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


Pull Request Review Guidelines

MizukiTemma avatar Oct 25 '22 15:10 MizukiTemma

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.

codeclimate[bot] avatar Oct 25 '22 15:10 codeclimate[bot]