Browse Source

change file names

pull/3072/head
mehmet-erim 7 years ago
parent
commit
8c9c1f9433
  1. 2
      docs/en/Authorization.md
  2. 0
      docs/en/UI/Angular/Component-Replacement.md
  3. 4
      docs/en/UI/Angular/Localization.md
  4. 12
      docs/en/UI/Angular/Permission-Management.md
  5. 4
      docs/en/docs-nav.json

2
docs/en/Authorization.md

@ -367,4 +367,4 @@ This is already done for the startup template integration tests.
* [Permission Management Module](Modules/Permission-Management.md)
* [ASP.NET Core MVC / Razor Pages JavaScript Auth API](API/JavaScript-API/Auth.md)
* [Permissions in Angular Projects](UI/Angular/PermissionManagement.md)
* [Permission Management in Angular UI](UI/Angular/Permission-Management.md)

0
docs/en/UI/Angular/ComponentReplacement.md → docs/en/UI/Angular/Component-Replacement.md

4
docs/en/UI/Angular/Localization.md

@ -1,4 +1,4 @@
## Localization in Angular Projects
# Localization
Before you read about _the Localization Pipe_ and _the Localization Service_, you should know about localization keys.
@ -24,7 +24,7 @@ So these two are the same:
<h1>{%{{{ 'MyProjectName::Key' | abpLocalization }}}%}</h1>
```
### Using the Localization Pipe
## Using the Localization Pipe
You can use the `abpLocalization` pipe to get localized text as in this example:

12
docs/en/UI/Angular/PermissionManagement.md → docs/en/UI/Angular/Permission-Management.md

@ -1,6 +1,6 @@
## Permissions in Angular Projects
# Permission Management
A permission is a simple policy that is granted or prohibited for a particular user, role or client. You can read more about [authorization in ABP](Authorization.md) document.
A permission is a simple policy that is granted or prohibited for a particular user, role or client. You can read more about [authorization in ABP](../../Authorization.md) document.
You can get permission of authenticated user using `getGrantedPolicy` selector of `ConfigState`.
@ -37,7 +37,7 @@ export class YourComponent {
}
```
### Permission Directive
## Permission Directive
You can use the `PermissionDirective` to manage visibility of a DOM Element accordingly to user's permission.
@ -51,7 +51,7 @@ As shown above you can remove elements from DOM with `abpPermission` structural
The directive can also be used as an attribute directive but we recommend to you to use it as a structural directive.
### Permission Guard
## Permission Guard
You can use `PermissionGuard` if you want to control authenticated user's permission to access to the route during navigation.
@ -74,6 +74,6 @@ const routes: Routes = [
Granted Policies are stored in the `auth` property of `ConfigState`.
## See Also
## What's Next?
* [Authorization](../../Authorization.md)
* [Component Replacement](./Component-Replacement.md)

4
docs/en/docs-nav.json

@ -290,11 +290,11 @@
},
{
"text": "Permission Management",
"path": "UI/Angular/PermissionManagement.md"
"path": "UI/Angular/Permission-Management.md"
},
{
"text": "Component Replacement",
"path": "UI/Angular/ComponentReplacement.md"
"path": "UI/Angular/Component-Replacement.md"
}
]
}

Loading…
Cancel
Save