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/...
Смотрите видео Authentication and Authorization - Restrict access by user login - Blazor Purchase Orders - Part 22 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Christopher Bell 24 Май 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,081 раз и оно понравилось 20 людям.