SoftInstigate / restheart

Rapid API Development with MongoDB
https://restheart.org
GNU Affero General Public License v3.0
807 stars 171 forks source link

Is there any way to reload security.yml at runtime? #127

Closed allisthere2love closed 8 years ago

allisthere2love commented 8 years ago

Hi, We're running some tests with Restheart and facing the following scenario: We have some roles in security.yml, each one corresponding to one path (mongodb database). If we want to add a new collection to this scenario, we need to modify the yml and then restart restheart.

Is it possible to reload it in runtime via some url? Or maybe put this feature in the backlog?

thanks!

ujibang commented 8 years ago

Hi @allisthere2love

the feature "configuration reload at runtime" is already in the backlog. see https://softinstigate.atlassian.net/browse/RH-139

however we just released 2.0 and now priority is stability and refactoring, specifically this task https://softinstigate.atlassian.net/browse/RH-100 (Refactor code to use the new Mongodb driver 3.0 API)

so release time for this feature is not defined. if you need to speedup things you can either do it yourself and contribute a pull request or buy a custom development package from SoftInstigate.

thanks