AjuntamentdeBarcelona / decidim.barcelona-legacy

:warning: [DEPRECATED] Decidim Barcelona - Direct and participatory democracy web platform
GNU Affero General Public License v3.0
40 stars 10 forks source link

Add `enable_proposal_creation` and `enable_proposal_comments` flags #777

Closed beagleknight closed 7 years ago

beagleknight commented 7 years ago

What and why

:warning: WARNING :warning:

This PR depecreates the proposal_readonly flag because now we have an extra granularity to define proposal features. This means by default both proposal creation and comments will be disabled.

The past steps should be revised as well because if we disable comments on a active step we must disable manually the same flag in previous steps.

codecov-io commented 7 years ago

Current coverage is 89.34% (diff: 100%)

Merging #777 into master will increase coverage by <.01%

@@             master       #777   diff @@
==========================================
  Files           307        307          
  Lines         10705      10714     +9   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           9563       9572     +9   
  Misses         1142       1142          
  Partials          0          0          

Powered by Codecov. Last update d610406...0545f12