Changeset [d8e186bfce779e737feadcc1377b7a88e3ea712a] by renoke

September 10th, 2009 @ 08:43 AM

Secure site_id: use attr_protected :site_id in models instead of
overwriting site_id= setter method that raised a Zena::AccessViolation Error.

Squashed commit of the following:

commit 02c30fd06d4b1d53b1437827d13c1619ae024269
Author: renoke renaud.kern@gmail.com
Date: Wed Sep 9 06:58:47 2009 +0200

Version: use attr_protected :site_id.

commit f5469b95eed037eab9ebc9052c126183fd38b623
Author: renoke renaud.kern@gmail.com
Date: Tue Sep 8 20:41:03 2009 +0200

Add attr_protected :site_id to DataEntry.

commit 13feeaf4ba5e3bab75d1fc3827457ae5ec498d5e
Author: renoke renaud.kern@gmail.com
Date: Tue Sep 8 17:29:17 2009 +0200

site_id: use attr_protected :site_id instead of secure module.

http://github.com/zena/zena/commit/d8e186bfce779e737feadcc1377b7a88...

Committed by renoke

  • M app/models/cache.rb
  • M app/models/cached_page.rb
  • M app/models/contact_content.rb
  • M app/models/data_entry.rb
  • M app/models/discussion.rb
  • M app/models/group.rb
  • M app/models/node.rb
  • M lib/zena/acts/secure.rb
  • M test/unit/cached_page_test.rb
  • M test/unit/comment_test.rb
  • M test/unit/contact_content_test.rb
  • M test/unit/data_entry_test.rb
  • M test/unit/discussion_test.rb
  • M test/unit/document_content_test.rb
  • M test/unit/dyn_attributes_test.rb
  • M test/unit/group_test.rb
  • M test/unit/node_test.rb
  • M test/unit/relation_test.rb
  • M test/unit/version_test.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Anyone knows how to use formatting here ?

Git repository: http://github.com/zena

Official website: http://zenadmin.org

Shared Ticket Bins