grantcolley / headway

A .NET 7.0 Blazor framework for building configurable applications fast. Supporting both hosting models, Blazor WebAssembly and Blazor Server, a WebApi for accessing data and an Identity Provider for authentication.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to see customer list

VR-Architect opened this issue · comments

When logged in as user "grant", I am able to create customers and see them in the database; however, I am not able to see the list of customers. I gave "grant" permissions to "Customer Read", logged out, and back in. Still not able to see the list of customers. Does a user also need to have a role in addition to a permission? Thanks..

I assume you can see the customers page, but the table is empty.

The customer table isn't automatically populated when the page is rendered. Instead you use the search component to search for customers by entering search criteria (Customer Id or Surname) and clicking the search icon (magnifier) to the right of the search component. In its current form leaving the search criteria blank will have the same effect as a wild card search.

This configurable search component is still experimental. The idea is for pages where it may not be practical to automatically return all the data e.g. where there is a very large population data. Instead the volume of data returned can be restricted by specifying search criteria.

The results can still be filtered further if necessary, once the table has been populated.

NOTE:
When I looked at the Customers screen I got an error which I fixed with 05ece2e
Also, if you get latest of the source code you will notice changes to the structure of the projects in the solution. See #64 and #65.