class ComponentPolicy < ApplicationPolicy
def create?
user.admin?
end
def update?
create?
def destroy?