logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

email_domain_block_policy.rb (179B)


  1. # frozen_string_literal: true
  2. class EmailDomainBlockPolicy < ApplicationPolicy
  3. def index?
  4. admin?
  5. end
  6. def create?
  7. admin?
  8. end
  9. def destroy?
  10. admin?
  11. end
  12. end