Class: Authz

Inherits:
BaseNew
  • Object
show all
Defined in:
app/models/authz.rb

Class Method Summary collapse

Methods inherited from BaseNew

Proxy, install_data, install_data_hooks, #with_timestamps?

Class Method Details

.get_my_authz(user_id, account_id) ⇒ Object



13
14
15
# File 'app/models/authz.rb', line 13

def get_my_authz(user_id,)
  self.dataset.where(:user_id => user_id,:account_id => ).all
end