Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: Change analytics access without permissions #410

Merged
merged 4 commits into from
Dec 3, 2019

Conversation

Stezido
Copy link
Contributor

@Stezido Stezido commented Nov 29, 2019

Description

If a user does not have the permission to see all workflowitems for all subprojects, the project analytics screen displays the message "Insufficient permissions". This is somewhat correct, since in this case the allocated and disbursed amount cannot be calculated. Since there are other values available on the permissions screen it would be a better UI experience if only the values that cannot be calculated are disabled or "redacted".

Solution

  • If the user has insufficient permission (redaceted workflowitems) only the total budget will be displayed.
  • The feature to convert the budget into the different currencies is also available without these permissions.
  • The insufficient permissions warning is shown below the total budget with an improved style.

Closes #400

@openkfwCI
Copy link

openkfwCI commented Nov 29, 2019

NotesTime
✔️Note for Reviewer: E2E tests on remote server succeededTue, 03 Dec 2019 10:48:18 +0000

Generated by E2E-Test

If workflowitems are redacted the projected budget (total budget) is still visible but the charts are hidden and a well displayed warning is shown
Add helper for formating amounts to strings
Add total string to table of subproject analytics
@Stezido Stezido force-pushed the analytics-handle-insufficient-permissions branch from cbba9a5 to 320e0a1 Compare December 3, 2019 08:48
@Stezido Stezido merged commit 0bbae54 into master Dec 3, 2019
@mathiashoeld mathiashoeld deleted the analytics-handle-insufficient-permissions branch March 10, 2020 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project analysis displaying insufficient permissions
3 participants