chore: Update method for team members (#1734)
Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
committed by
GitHub
parent
bf2b56a988
commit
1484849cc7
@@ -10,4 +10,8 @@ class TeamMemberPolicy < ApplicationPolicy
|
||||
def destroy?
|
||||
@account_user.administrator?
|
||||
end
|
||||
|
||||
def update?
|
||||
@account_user.administrator?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user