Files
nairobi/app/models
Javi Martín 53670602e0 Allow managers to read investment suggestions
When creating a budget investment with an unverified manager (for
example, a manager who isn't part of the local census), there's a
request to `Budgets::InvestmentsController#suggest`. Since the manager
isn't verified, suggestions can't be obtained.

There are serveral ways to fix this problem:

* Add a `suggest` action to Management::Budgets::InvestmentsController,
doing the same thing the main `suggest` action does.
* Give unverified users permission to access investment suggestions
* Give managers permission to access investment suggestions

I've chosen the last one because I thought it was simple and only
changed existing behaviour for managers, but any other solution would be
as valid. I haven't added the `phase: "accepting"` condition to keep it
simple, since a read-only action like this one in the management portal
isn't gonna create security risks.
2019-09-20 12:51:26 +02:00
..
2019-09-10 21:04:56 +02:00
2019-03-14 17:25:43 +01:00
2019-07-29 13:10:09 +02:00
2015-07-15 13:32:13 +02:00
2019-09-10 21:04:56 +02:00
2019-06-27 09:19:37 +02:00
2019-03-27 15:22:14 +01:00
2019-08-27 17:22:22 +02:00
2019-03-14 17:25:43 +01:00
2019-04-29 13:08:43 -05:00
2019-04-17 17:40:56 +02:00
2019-05-28 14:26:18 +02:00
2019-06-27 09:19:35 +02:00
2019-09-10 21:04:56 +02:00
2019-05-22 11:50:03 +02:00
2019-07-29 13:10:09 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:04:56 +02:00
2019-02-05 17:41:00 +01:00
2019-09-10 21:43:38 +02:00
2019-09-10 21:04:56 +02:00
2017-12-15 19:21:02 +01:00