Sha256: 78555e5dc57db9bb84b772b5e1df72fe5766791cc5e1e7220938d10cf4a61879
Contents?: true
Size: 310 Bytes
Versions: 15
Compression:
Stored size: 310 Bytes
Contents
# frozen_string_literal: true # require 'cancancan' ## v0.0.1 :: 2023-12-26 class Ability include ::CanCan::Ability def initialize(user) if user if [ 'piousbox@gmail.com', 'victor@piousbox.com', 'victor@wasya.co' ].include? user.email can :manage, :all end end end end
Version data entries
15 entries across 15 versions & 1 rubygems