mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
no permission content (#2616)
This commit is contained in:
committed by
Eugenio Romano
parent
cc821542a2
commit
5fff7fcb29
@@ -733,8 +733,30 @@ That will give the following output:
|
||||
|
||||

|
||||
|
||||
### Custom 'permission denied' template
|
||||
|
||||
By default DocumentList provides the following content for permission denied:
|
||||
|
||||

|
||||
|
||||
This can be changed by means of the custom html template:
|
||||
|
||||
```html
|
||||
<adf-document-list ...>
|
||||
<no-permission-content>
|
||||
<ng-template>
|
||||
<h1>You don't have permissions</h1>
|
||||
</ng-template>
|
||||
</no-permission-content>
|
||||
</adf-document-list>
|
||||
```
|
||||
|
||||
That will give the following output:
|
||||
|
||||

|
||||
<!-- Don't edit the See also section. Edit seeAlsoGraph.json and run config/generateSeeAlso.js -->
|
||||
<!-- seealso start -->
|
||||
|
||||
## See also
|
||||
|
||||
- [Datatable component](datatable.component.md)
|
||||
|
Reference in New Issue
Block a user