María Checa
ebfa3fb011
Disallow users to edit their legislation proposals
2017-09-22 11:39:17 +02:00
iagirre
4db2584f87
The tags are suggested based on the entries the user makes.
...
Cambios para hacer commit:
modificado: app/assets/javascripts/tag_autocomplete.js.coffee
modificado: app/assets/stylesheets/autocomplete_overrides.scss
nuevo archivo: app/controllers/tags_controller.rb
modificado: app/models/abilities/common.rb
modificado: app/views/debates/_form.html.erb
modificado: app/views/proposals/_form.html.erb
modificado: config/initializers/acts_as_taggable_on.rb
modificado: config/routes.rb
modificado: spec/lib/acts_as_taggable_on_spec.rb
2017-09-21 18:21:45 +02:00
María Checa
393e9f2b6a
Added permissions for Legislation:Proposal
2017-09-14 17:38:42 +02:00
taitus
64774b0d2d
Refactor topics controller. Add Common abilities. Add destroy action.
2017-09-06 13:30:12 +02:00
Senén Rodero Rodríguez
0fbffdc73e
Fix abilities definition and related specs
2017-08-25 18:34:53 +02:00
Senén Rodero Rodríguez
cc89907bff
Add nested documents to proposal form.
2017-08-25 18:34:52 +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
taitus
b0c571e658
Do not display send notification button when proposal is from another author.
2017-07-13 20:33:57 +02:00
Senén Rodero Rodríguez
84dbef16a4
Create followable concern, follow model. Add followable to proposal model.
2017-07-07 12:02:00 +02:00
Bertocq
2888c20489
Fix all Style/RedundantSelf rubocop issues
2017-07-05 11:55:52 +02:00
Bertocq
c9bc028524
Remove all unnecesary extra spacing and Layout/ExtraSpacing list from rubocop file
2017-06-28 14:12:51 +02:00
Eduardo Martinez Echevarria
180ed1ce99
Set cancan permissions for suggest on Budget::Investment
2017-06-11 13:13:50 +02:00
Alberto
6bbcc71ecb
Merge branch 'master' into polls
2017-04-06 14:16:49 +02:00
kikito
24920e73f6
Adds permissions for authors to destroy budget investments
2017-03-06 13:42:52 +01:00
Juanjo Bazán
909114bcf5
cleans common can answer ability
2017-02-12 19:40:08 +01:00
Juanjo Bazán
113f9b32d7
Merge branch 'master' into polls
2017-01-19 16:51:19 +01:00
kikito
be2543cf61
Uncomments ability section
2016-12-19 19:03:46 +01:00
kikito
3255ca700f
User new answerable_by method in ability
2016-11-07 17:42:52 +01:00
kikito
d39f19abb8
Defines Poll::Question#answerable_by?(user) and uses it in abilities
2016-11-07 16:28:39 +01:00
kikito
f821d7beb7
Implements abilities for poll & poll_question
2016-11-07 10:37:22 +01:00
rgarcia
9839d7afd0
can add investments to ballot
2016-09-10 16:22:40 +02:00
rgarcia
3c55d66591
fixes conflicts with budget
2016-07-27 11:41:46 +02:00
rgarcia
f24a8887bb
fixes conflicts with master
2016-07-19 14:49:27 +02:00
kikito
0c469bc362
fixes the way permissions work for proposalnotifications
2016-06-15 14:02:13 +02:00
rgarcia
fea3aef5bb
updates permissions for direct messages
2016-06-09 17:35:19 +02:00
rgarcia
0e86cd89d6
adds permissions with cancan for new, create and show
2016-06-08 13:46:17 +02:00
kikito
fa6f34bf5c
Adds basic Budget controller / views
2016-05-31 19:26:56 +02:00
kikito
2a82e9e33a
Redoes the common balloting permissions
2016-05-30 14:01:47 +02:00
kikito
daa8783b02
Adds common Investment abilities
2016-05-30 13:53:30 +02:00
Juanjo Bazán
58a5e2a283
authors can retire proposals now
2016-04-23 13:24:15 +02:00
Raimond Garcia
c581aad9bf
Merge pull request #1018 from consul/investment-project-vote
...
Investment project vote
2016-03-29 18:57:05 +02:00
rgarcia
6f723a871f
allows only admins to delete spending proposals
2016-03-29 17:08:31 +02:00
rgarcia
ed1ec1c553
adds votes to spending proposals
2016-03-29 14:53:46 +02:00
Juanjo Bazán
142c981cdf
adds ability to level 2 users to delete owned sps
2016-03-14 12:51:58 +01:00
MaiteHdezRivas
7406904c51
adding suggest with coffescript
2016-01-27 12:32:44 +01:00
Juanjo Bazán
1ab0b31d4b
only level 2 users can create spending proposals
2016-01-13 13:35:21 +01:00
Juanjo Bazán
2c36ceb10c
adds abilities for SpendingProposals
2016-01-11 12:15:42 +01:00
kikito
60e78e58fa
Rename ability
2015-12-16 18:44:27 +01:00
kikito
fc8a1fc84b
allows not-logged-in users to read existing annotations
2015-12-16 16:26:59 +01:00
Abigail Sosa
189a6426b1
Se agregan anotaciones a propuestas existentes
2015-12-16 11:45:46 +01:00
Juanjo Bazán
c896fc3eef
adds ability for featured_votes of proposals
2015-10-22 11:53:32 +02: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