* Add a trait for single_resource_admins to users factory * Add single_resource_admin authrization for Growth view * Expand GrowthController test coverage * Add single resource admin workaround to models * Add single resource admin to additional views
7 lines
277 B
Ruby
7 lines
277 B
Ruby
class Permission < ApplicationRecord
|
|
resourcify
|
|
# This class exists to take advantage of Rolify for limiting authorization
|
|
# on internal reports.
|
|
# NOTE: It is not backed by a database table and should not be expected to
|
|
# function like a traditional Rails model
|
|
end
|