mirror of
https://github.com/we-promise/sure.git
synced 2026-04-13 09:07:25 +00:00
Providers sharing (#1273)
* third party provider scoping * Simplify logic and allow only admins to mange providers * Broadcast fixes * FIX tests and build * Fixes * Reviews * Scope merchants * DRY fixes
This commit is contained in:
@@ -56,7 +56,7 @@ class Assistant::Function
|
||||
end
|
||||
|
||||
def family_account_names
|
||||
@family_account_names ||= family.accounts.visible.pluck(:name)
|
||||
@family_account_names ||= user.accessible_accounts.visible.pluck(:name)
|
||||
end
|
||||
|
||||
def family_category_names
|
||||
|
||||
Reference in New Issue
Block a user