feat: Allow SaaS users to manage subscription within the dashboard (#5059)
This commit is contained in:
@@ -10,4 +10,12 @@ class AccountPolicy < ApplicationPolicy
|
||||
def update_active_at?
|
||||
true
|
||||
end
|
||||
|
||||
def subscription?
|
||||
@account_user.administrator?
|
||||
end
|
||||
|
||||
def checkout?
|
||||
@account_user.administrator?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user