# frozen_string_literal: true
class MetacodePolicy < ApplicationPolicy
def index?
true
end
def show?
def create?
user.is_admin
def update?
def destroy?
false
class Scope < Scope
def resolve
scope.all