maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
docs/en/UI/AspNetCore/Toolbars.md
|
|
@ -60,6 +60,7 @@ if (await context.IsGrantedAsync("MyPermissionName")) |
|
|
//...add Toolbar items |
|
|
//...add Toolbar items |
|
|
} |
|
|
} |
|
|
```` |
|
|
```` |
|
|
|
|
|
|
|
|
You can use `RequiredPermissionName` as a shortcut. It is also more performant, ABP optimizes the permission check for all the items. |
|
|
You can use `RequiredPermissionName` as a shortcut. It is also more performant, ABP optimizes the permission check for all the items. |
|
|
|
|
|
|
|
|
````csharp |
|
|
````csharp |
|
|
|