Browse Source
Update Authorization.md
modify the description
pull/9887/head
quan-zhan
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") |
|
|
|
|