Authentication and Authorization - Restrict access by user login - Blazor Purchase Orders - Part 22

Published: 24 May 2021
on channel: Christopher Bell
1,081
20

A C# project using Blazor to create a simple Purchase Order System, incorporating Syncfusion controls and using Dapper to link to a SQL database.

This video shows how to limit access to specific records (purchase orders) according to a user's authorisation.

00:00 - Introduction
01:10 - Adding a Manager role
01:40 - Registering a new user
02:20 - Assigning Manager role to new user
02:50 - Restricting menu for Manager role
04:25 - Demonstration of access for new user/role
04:50 - Limit access to records by user login
05:50 - Index page initialization - getting a list of orders
07:00 - Determining a user's name and role
09:39 - SQL stored procedure with CASE statement to filter orders
12:00 - Testing changes to the SQL stored procedure
12:45 - Changes to C# code to implement changes to the stored procedure
14:45 - Testing restriction of access to orders by user login
15:37 - Fixing a problem with editing a purchase order

Syncfusion: https://www.syncfusion.com/products/c...

Blazorcode.uk: https://blazorcode.uk/purchaseorders/...
Code at: https://blazorcode.uk/purchaseorders/...


Watch video Authentication and Authorization - Restrict access by user login - Blazor Purchase Orders - Part 22 online without registration, duration hours minute second in high quality. This video was added by user Christopher Bell 24 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,081 once and liked it 20 people.