Browse Source
Merge pull request #9888 from abpframework/auto-merge/rel-4-4/530
Merge branch dev with rel-4.4
pull/9890/head
liangshiwei
5 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
1 deletions
-
docs/en/Authorization.md
|
|
|
@ -256,7 +256,7 @@ myGroup.AddPermission("Book_Creation") |
|
|
|
|
|
|
|
#### Depending on a Global Feature |
|
|
|
|
|
|
|
Use the `RequireFeatures` extension method on your permission definition to make the permission available only if a given feature is enabled: |
|
|
|
Use the `RequireGlobalFeatures` extension method on your permission definition to make the permission available only if a given feature is enabled: |
|
|
|
|
|
|
|
````csharp |
|
|
|
myGroup.AddPermission("Book_Creation") |
|
|
|
|