Update Toolbars.md

pull/7882/head
maliming 5 years ago committed by GitHub
parent 73dd6eb30d
commit 4676079245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,6 +60,7 @@ if (await context.IsGrantedAsync("MyPermissionName"))
//...add Toolbar items
}
````
You can use `RequiredPermissionName` as a shortcut. It is also more performant, ABP optimizes the permission check for all the items.
````csharp

Loading…
Cancel
Save