From 9186081a506ef11488cedc2ff15f15d9c0ff27a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 7 Dec 2020 17:47:13 +0300 Subject: [PATCH] Add links to UI authorization docs. --- docs/en/Authorization.md | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/docs/en/Authorization.md b/docs/en/Authorization.md index bceca3548f..fbb71bb3d4 100644 --- a/docs/en/Authorization.md +++ b/docs/en/Authorization.md @@ -280,21 +280,11 @@ public async Task CreateAsync(CreateAuthorDto input) ## Check a Permission in JavaScript -You may need to check a policy/permission on the client side. +See the following documents to learn how to re-use the authorization system on the client side: -### MVC UI - -For ASP.NET Core MVC / Razor Pages applications, you can use the `abp.auth` API. - -**Example: Check if a given permission has been granted for the current user** - -```js -abp.auth.isGranted('MyPermissionName'); -``` - -### Angular UI - -See the [permission management document](UI/Angular/Permission-Management.md) for the Angular UI. +* [ASP.NET Core MVC / Razor Pages UI: Authorization](UI/AspNetCore/JavaScript-API/Auth.md) +* [Angular UI Authorization](UI/Angular/Permission-Management.md) +* [Blazor UI Authorization](UI/Blazor/Authorization.md) ## Permission Management