Senén Rodero Rodríguez
0239efef9d
Allow administrators to run local census records importation
...
Allow only administrator users to run local census records importation
process
2019-07-29 13:07:24 +02:00
Senén Rodero Rodríguez
5fa1bd8a6f
Allow administrator users the ability to manage all LocalCensusRecords
...
Also check that other kind of users are not able to manage
LocalCensusRecords.
2019-07-29 13:07:24 +02:00
lalo
23d36835d7
Add Admin changes to create Poll:Questions with votation type
2019-06-12 19:44:14 +02:00
voodoorai2000
24dde9c35e
Delete valuation
2019-05-31 15:43:06 +02:00
decabeza
eda6ea7f12
Merge branch 'master' into dashboard
2019-03-26 16:45:48 +01:00
Julian Herrero
31ac8b7f55
Change single quotes to double quotes
2019-02-15 11:40:39 +01:00
Julian Herrero
54e59a8a58
LegacyLegislation migration cleanup
...
These legacy models are not used anymore.
2019-02-06 17:07:38 +01:00
Juan Salvador Pérez García
e5f9cf6710
Fixed #239
...
Proposals dashboard refactored to dashboard.
Added missing specs for the dashboard.
2018-07-24 15:52:43 +02:00
Juan Salvador Pérez García
f439fc7371
Fixes #218
...
Added check in poll card that allows setting the value of
results_enabled flag.
Access to stats/results now is controlled with abilities.
Polls related to proposals will be accessible to the proposal author
like they were administrators.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
f9a085a400
Implements graph for dashboard
...
Implements graph secion for dashboard.
Dashboard related actions have been agrupated inside a menu in the admin
section.
Minor bugfixes.
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
1464bddfa8
Fixes #134
...
Adds an administration interface for the proposal dashboard actions.
2018-07-17 17:48:46 +02:00
Angel Perez
88a5e8b1d2
Spec: Admins/users can destroy only their authored documentables/imageables ( #2375 )
2018-01-26 09:10:58 -04:00
Bertocq
43c8506f84
Remove deprecated expecations about admin image&doc destroyal
2018-01-24 21:42:20 +01:00
Bertocq
2253155a51
Enables RSpec/EmptyLineAfterSubject & fixes all issues
...
Read more about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterSubject
2018-01-07 00:50:50 +01:00
Bertocq
6ec6f64675
Enable RSpec/DescribeClass rubocop rspec cop & fix issues
...
Manually fixes all issues & "stashed" false positives at .rubocop_todo.yml
Read about the cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribeClass
2018-01-07 00:20:55 +01:00
BertoCQ
01e4447050
Merge pull request #1923 from wairbut-m2c/iagirre-preview-budget-results
...
Admins can see the preview of the budgets' results before the balloti…
2017-10-02 21:40:04 +02:00
Senén Rodero Rodríguez
2993ef8707
Remove documents single uploads
2017-09-27 11:04:56 +02:00
Senén Rodero Rodríguez
eef8ad1b73
Remove images single uploads
2017-09-27 10:41:48 +02:00
Senén Rodero Rodríguez
d1d2a31876
Remove permissions of obsolete actions. Add missing image managment abilities to common and administrator specs.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
6f71da07ee
Duplicate documentable code and rename for imageable
2017-09-26 13:55:03 +02:00
iagirre
e90ac7e72d
Admins can see the preview of the budgets' results before the balloting phase is finished.
...
Cambios para hacer commit:
modificado: app/models/abilities/administrator.rb
modificado: app/views/budgets/show.html.erb
modificado: spec/models/abilities/administrator_spec.rb
modificado: spec/models/abilities/everyone_spec.rb
2017-09-26 11:16:32 +02:00
María Checa
288cedc4c4
Poll questions documents tests added
2017-09-06 18:25:41 +02:00
Senén Rodero Rodríguez
c92827e89e
Add abilities to documentable authors and admins to create and destroy documents.
2017-08-25 17:27:37 +02:00
decabeza
5e0d5fc8c3
Merge branch 'legislation-module-stable' of https://github.com/medialab-prado/consul into medialab-legislation
2017-05-22 18:43:49 +02:00
kikito
5d13bdc15d
Removes 'manage' from admin permissions in Polls
2017-01-30 11:29:49 +01:00
Juanjo Bazán
113f9b32d7
Merge branch 'master' into polls
2017-01-19 16:51:19 +01:00
Amaia Castro
a2a61341fe
Merge branch 'master' into legislation-module-stable
2017-01-11 22:54:41 +01:00
kikito
4ceeb68a90
changes abilities extending valuation period
2017-01-04 15:59:36 +01:00
kikito
451179fa59
fixes issues with valuating in specs
2017-01-02 08:22:11 +01:00
Amaia Castro
de5df61359
Legislation question comments spec
2016-12-23 15:40:52 +01:00
rgarcia
63ccac963a
adds booth backend for index, show, create and edit actions
2016-11-14 13:57:16 +01:00
Juanjo Bazán
3964988bb1
fixes specs
...
updates investment to have group_id & budget_id
2016-09-05 13:50:25 +02:00
Juanjo Bazán
b5a6828e41
adds Budget::Group model to group headings
...
many refactors through budget related models
2016-06-09 18:00:06 +02:00
kikito
7005faabe6
adds admin permissions for investments
2016-05-30 14:13:36 +02:00
rgarcia
d5453f1733
fixes spec
2016-03-29 17:36:31 +02:00
Juanjo Bazán
decf0f2683
changes admin/valuator permissions
...
not allowed to create/destroy spending proposals anymore
2016-03-14 14:35:57 +01:00
Juanjo Bazán
1ab0b31d4b
only level 2 users can create spending proposals
2016-01-13 13:35:21 +01:00
Abigail Sosa
189a6426b1
Se agregan anotaciones a propuestas existentes
2015-12-16 11:45:46 +01:00
kikito
82af488ce3
Splits ability.rb and specs into several smaller files
...
I'm doing this in preparation for the "Manager" ability, which will
require even more refactors of the abilities (for example,
manager can not modify their own account)
2015-09-28 13:51:42 +02:00