mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 11:04:14 +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:
@@ -1,5 +1,6 @@
|
||||
class PlaidItemsController < ApplicationController
|
||||
before_action :set_plaid_item, only: %i[edit destroy sync]
|
||||
before_action :require_admin!, only: %i[new create select_existing_account link_existing_account edit destroy sync]
|
||||
|
||||
def new
|
||||
region = params[:region] == "eu" ? :eu : :us
|
||||
|
||||
Reference in New Issue
Block a user