User story #9211
closedAdd Directive field with a graphical File Explorer for shared files
Description
We want to provide a new field type for directives that allows (but not force) to use a graphical explorer to select the path of a file from shared file.
In that first version, there is no specific rights associated with the file explorer: if you are able to modify directive, you can use the file explorer.
Bonus point if the file explorer allows to see the content of the file (but not to edit it) and if it is configurable (i.e, if we somehow have an option to enable/disable it globally).
So we need:
- a new type of VType in /rudder-core/src/main/scala/com/normation/cfclerk/domain/Constraint.scala and its parsing in /rudder-core/src/main/scala/com/normation/cfclerk/xmlparsers/VariableSpecParser.scala => parseConstraint
- a new field type in /rudder-web/src/main/scala/com/normation/rudder/web/model/DirectiveFieldEditors.scala
- a new mapping between the two in /rudder-web/src/main/scala/bootstrap/liftweb/AppConfig.scala => FieldFactoryImpl (I'm seeing that there is already an UploadedFileVType that can be used as a model)
The first step is to find and test a file directory browser. The only one I know for angular is that one: https://github.com/joni2back/angular-filemanager/blob/master/README.md
Updated by Raphael GAUTHIER about 8 years ago
- Status changed from New to In progress
Updated by Raphael GAUTHIER about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/1265
Updated by Anonymous about 8 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|cd27cc324847361f6d79df3c3c2d881faf7541d7.
Updated by Benoît PECCATTE about 8 years ago
- Target version changed from 4.0.0~rc2 to 318
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 318 to 4.0.0~rc2
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 4.0.0~rc2 to 4.0.0~rc1
Updated by Alexis Mousset about 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.0.0 which was released the 10th November 2016.
Updated by Benoît PECCATTE almost 8 years ago
- Related to User story #3606: Upload a file to the shared folder added
Updated by Benoît PECCATTE almost 8 years ago
- Has duplicate User story #3921: Manage shared folder from web app added
Updated by Benoît PECCATTE almost 8 years ago
- Has duplicate User story #7251: Management of shared-files added