Project

General

Profile

Actions

User story #9211

closed

Add Directive field with a graphical File Explorer for shared files

Added by François ARMAND over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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


Subtasks 4 (0 open4 closed)

User story #9232: Add an API to list shared files propertiesReleasedFrançois ARMAND2016-10-05Actions
User story #9318: Add Support for shared file input in metadata.xmlReleasedFrançois ARMAND2016-10-11Actions
User story #9346: Compilation error because RestSharedFolder not foundReleasedVincent MEMBRÉ2016-10-12Actions
User story #9348: Add the shared file constraint to copy from shared folder techniquesReleasedVincent MEMBRÉ2016-10-13Actions

Related issues 3 (0 open3 closed)

Related to Rudder - User story #3606: Upload a file to the shared folder RejectedVincent MEMBRÉActions
Has duplicate Rudder - User story #3921: Manage shared folder from web appRejectedFrançois ARMANDActions
Has duplicate Rudder - User story #7251: Management of shared-filesRejectedActions
Actions

Also available in: Atom PDF