Add links to UI authorization docs.

pull/6541/head
Halil İbrahim Kalkan 4 years ago
parent 5e3b9c7586
commit 9186081a50

@ -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

Loading…
Cancel
Save