silexlabs / unifile

Unified access to cloud storage services through a simple web API.
https://silexlabs.github.io/unifile/
MIT License
144 stars 32 forks source link

Give the user the possibility to change connector infos #90

Closed JbIPS closed 7 years ago

JbIPS commented 7 years ago

The user should be able to set a different name/description for a given connector (for locale purpose or customization) without redefining the connector completely.

lexoyo commented 7 years ago

I was thinking about this... Would you use inheritance?

In my use case I think I need to override info and also force some parameters values. For example set the host for ftp or at least the default value

JbIPS commented 7 years ago

I was thinking extra options in the connector constructor.

As for default values, there is none but I think you want to set some in the view like the logging form

lexoyo commented 7 years ago

Good ideas!