Skip to content

security/installation issue? #85

@whartonn

Description

@whartonn

I've just installed the gem with rails 3.0 and I'm not sure why anyone can view data on my server.

even when I set up /config/initializers/admin_data.rb with:

AdminData.config do |config|
  config.is_allowed_to_view = false
  config.is_allowed_to_update = false
end

In rails console I see:

>> AdminData.config
=> #<AdminData::Configuration:0x000001068c6ac0 @number_of_records_per_page=50, @is_allowed_to_view=false, @is_allowed_to_update=false, @is_allowed_to_view_feed=nil, @find_conditions={}, @drop_down_for_associations=true, @columns_order={}, @column_headers={}, @column_settings={}, @adapter_name="SQLite", @ignore_column_limit=false>

..But still I can view and edit all the data.

Any idea what I might be doing wrong?
Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions