Take the 2-minute tour ×
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It's 100% free, no registration required.

This question already has an answer here:

In our workflow, we run a shared development server. Each developer develops locally but points to the development database. All Craft software updates need to happen while in the local environment and then changes need to immediately be committed to the git repo otherwise things could get really screwed up.

I would the option to disable the update capability using a multi-environment config setting so we could prevent anyone from running those updates on the shared development server.

I know we could set up user permissions to lock this down, but I think it would be much handier to be able to do that at the config level.

Thoughts?

share|improve this question

marked as duplicate by Simon Kuran, Matt Stein Jul 14 at 17:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 5 down vote accepted

I believe you're looking for the 'allowAutoUpdates' config option combined with multi-environment configs.

share|improve this answer
    
FML - Sorry guys. –  Jacob Graf Jul 14 at 19:53
    
It's all good, @JacobGraf :) –  Matt Stein Jul 14 at 20:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.