Module: UffizziCore::Rbac::UserAccessService

Defined in:
app/lib/uffizzi_core/rbac/user_access_service.rb

Class Method Summary collapse

Class Method Details

.admin_access_to_account?(_user, _account) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'app/lib/uffizzi_core/rbac/user_access_service.rb', line 5

def admin_access_to_account?(_user, )
  true
end

.admin_access_to_project?(_user, _project) ⇒ Boolean

Returns:

  • (Boolean)


25
26
27
# File 'app/lib/uffizzi_core/rbac/user_access_service.rb', line 25

def admin_access_to_project?(_user, _project)
  true
end

.admin_or_developer_access_to_account?(_user, _account) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'app/lib/uffizzi_core/rbac/user_access_service.rb', line 13

def admin_or_developer_access_to_account?(_user, )
  true
end

.admin_or_developer_access_to_project?(_user, _project) ⇒ Boolean

Returns:

  • (Boolean)


17
18
19
# File 'app/lib/uffizzi_core/rbac/user_access_service.rb', line 17

def admin_or_developer_access_to_project?(_user, _project)
  true
end

.any_access_to_account?(_user, _account) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/lib/uffizzi_core/rbac/user_access_service.rb', line 9

def any_access_to_account?(_user, )
  true
end

.any_access_to_project?(_user, _project) ⇒ Boolean

Returns:

  • (Boolean)


21
22
23
# File 'app/lib/uffizzi_core/rbac/user_access_service.rb', line 21

def any_access_to_project?(_user, _project)
  true
end