1484849cc7
Co-authored-by: Sojan Jose <sojan@pepalo.com>
17 lines
238 B
Ruby
17 lines
238 B
Ruby
class TeamMemberPolicy < ApplicationPolicy
|
|
def index?
|
|
true
|
|
end
|
|
|
|
def create?
|
|
@account_user.administrator?
|
|
end
|
|
|
|
def destroy?
|
|
@account_user.administrator?
|
|
end
|
|
|
|
def update?
|
|
@account_user.administrator?
|
|
end
|
|
end
|