This pull request adds the ability to enable and restrict actions based on the role the user has.
The actions under this permission system are upload/rename/remove files and create/remove folders.
By default, all these actions are available for users with ROLE_USER. To change this, just add some lines to the artgris_file_manager.yaml under the conf you want to customize:
This pull request adds the ability to enable and restrict actions based on the role the user has.
The actions under this permission system are upload/rename/remove files and create/remove folders.
By default, all these actions are available for users with ROLE_USER. To change this, just add some lines to the artgris_file_manager.yaml under the conf you want to customize:
If the user doesn't have the required role to perform the action the corresponding buttons will be hidden.