Class: Permify::Permission::Null

Inherits:
Permify::Permission show all
Defined in:
lib/permify/permission/null.rb

Instance Method Summary collapse

Methods inherited from Permify::Permission

#initialize

Constructor Details

This class inherits a constructor from Permify::Permission

Instance Method Details

#granted?(candidate, resource) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/permify/permission/null.rb', line 3

def granted?(candidate, resource)
  false
end