U4-10104 - Dashboards are not showing up in backoffice

Created by Claus Jensen 05 Jul 2017, 08:57:58 Updated by Shannon Deminick 11 Jul 2017, 02:15:07

Subtask of: U4-8632

Dashboards doesn't seem to be working for any of the sections.

Comments

Claus Jensen 10 Jul 2017, 13:31:29

Fixed in commit: https://github.com/umbraco/Umbraco-CMS/commit/1149129c6f7efe55d3f8e2401304bd56064fb3cf

Checks for figuring out whether access was allowed to the dashboards, was not converted to the new user groups (was using user types before).

I have remade these checks as I think they should be done:

  • If no kind of grant rules are defined - allow until deny.
  • If any kind of grant rules are defined - disallow until at least one grants access.
  • Deny will overrule all grant rules.

In other words: if you don't define access rules in the dashboard.config - you will be allowed to see the dashboard tabs - which is how I believe it was before? .. if you do define rules - anything other than matches will be denied. Anything matching deny-rules will overrule all.

Please take a look at the code and confirm that this is how it should work.


Shannon Deminick 11 Jul 2017, 02:15:01

I think it's good!


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.7.0

Due in version: 7.7.0

Sprint: Sprint 63

Story Points: 1

Cycle: