chore: Update method for team members (#1734)

Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
Nithin David Thomas
2021-02-09 19:21:31 +05:30
committed by GitHub
parent bf2b56a988
commit 1484849cc7
6 changed files with 76 additions and 9 deletions

View File

@@ -10,4 +10,8 @@ class TeamMemberPolicy < ApplicationPolicy
def destroy?
@account_user.administrator?
end
def update?
@account_user.administrator?
end
end