Angular FileManager - permissions
Type:
jQuery
JavaScript
$(function () { $("#file-manager").dxFileManager({ permissions: { create: true, copy: true, move: true, remove: true, rename: true }, // ... }); });
Angular
HTML
TypeScript
<dx-file-manager id="fileManager"> <dxo-permissions create="true" copy="true" move="true" delete="true" rename="true" upload="true" download="true"> </dxo-permissions> <!-- ... --> </dx-file-manager>
import { DxFileManagerModule } from "devextreme-angular"; // ... export class AppComponent { // ... } @NgModule({ imports: [ // ... DxFileManagerModule ], // ... })
Vue
App.vue
<template> <DxFileManager> <DxPermissions :create="true" :copy="true" :move="true" :delete="true" :rename="true" :upload="true" :download="true" /> </DxFileManager> </template> <script> import 'devextreme/dist/css/dx.light.css'; import { DxFileManager, DxPermissions } from 'devextreme-vue/file-manager'; export default { components: { DxFileManager, DxPermissions }, data() { return { // ... } } } </script>
React
App.js
import React from 'react'; import FileManager, { Permissions } from 'devextreme-react/file-manager'; const App = () => { return ( <FileManager> <Permissions create={true} copy={true} move={true} delete={true} rename={true} upload={true} download={true}> </Permissions> </FileManager> ); }; export default App;
ASP.NET MVC Controls
Razor C#
@(Html.DevExtreme().FileManager() .Permissions(permissions => permissions .Create(true) .Copy(true) .Move(true) .Delete(true) .Rename(true) .Upload(true) .Download(true) ) // ... )
ASP.NET Core Controls
Razor C#
@(Html.DevExtreme().FileManager() .Permissions(permissions => permissions .Create(true) .Copy(true) .Move(true) .Delete(true) .Rename(true) .Upload(true) .Download(true) ) // ... )
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.