app/models/auth_token.rb
# Walk the permission tree to see if the record can be removed. Can take an
# instance of #Record, or just the name of the RR (with/without the domain
# name)
Walk the permission tree to see if the record can be removed. Can take an
instance of #Record, or just the name of the RR (with/without the domain
name)
Walk the permission tree to see if the record can be removed . Can take an instance of #Record or just the name of the RR ( with / without the domain name )
def can_remove?( record, type = '*' )
    return false unless can_change?( record, type )
    return false if !remove_records?
    true
  end
def can_remove? ( record , type = '*' ) return false unless can_change? ( record , type ) return false if ! remove_records? true end
Walk the permission tree to see if the record can be removed.
Walk the permission tree to see if the record can be removed .
record
<not_specific>
type
<not_specific>