Files
nairobi/config/locales
taitus e2138145a5 Avoid management actions when no user is selected
Many management actions only make sense if a user has been selected
beforehand.

We updated :check_verified_user method to be able to check  actions that need to
have a user selected in order to avoid exceptions.

We need this control as :only_verified_user is not restrictive enough. The reason is
that the :managed_user method used in the :only_verified_user if it does not find a
user it does an initializce (find_or_initialize_by). This causes that when we have
"skip_verification" to true, it returns this non-persisted user as "verified".

These changes affect the actions of Account, Budgets and Proposals Controller
when no user is selected.
2021-04-07 20:49:31 +02:00
..
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2019-12-18 16:50:48 +01:00
2020-09-23 17:22:46 +02:00
2019-05-30 20:26:13 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2019-12-18 16:50:48 +01:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-15 17:53:54 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-03-10 16:50:52 +01:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2019-05-30 20:26:13 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-15 17:53:54 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2019-05-30 20:26:13 +02:00
2020-09-23 17:22:46 +02:00
2019-05-30 20:26:13 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2019-05-30 20:26:13 +02:00
2019-12-18 16:50:48 +01:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-15 17:53:54 +02:00
2019-12-18 16:50:48 +01:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00
2019-05-30 20:26:13 +02:00
2020-09-23 17:22:46 +02:00
2020-09-23 17:22:46 +02:00