Ignore:
Timestamp:
08/20/24 23:14:03 (6 weeks ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
57fc402
Parents:
63bd770
Message:

Аccess permission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Controllers/ProductsController.cs

    r63bd770 rd6040ef  
    3030            // set if is authenticated
    3131            ViewBag.isAuthenticated = await getCrrentUser();
     32            ViewBag.hasAccess = await checkAuthorizationAsync();
    3233            if (!String.IsNullOrEmpty(searchString))
    3334            {
Note: See TracChangeset for help on using the changeset viewer.