Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed default group permission pre-load (since permissions are addi…

…tive anyway).
  • Loading branch information...
commit 2c7e43922f2338bf64003908dbd706c13b4a9ac1 1 parent 7bed703
Dimitrij Denissenko authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 app/models/group.rb
View
6 app/models/group.rb
@@ -16,12 +16,6 @@ class Group < ActiveRecord::Base
serialize :permissions, Hash
- def initialize(*args)
- super(*args)
-
- self.permissions = self.class.default_group.permissions if new_record?
- end
-
def self.default_group
Group.find_by_name('Default')
end
Please sign in to comment.
Something went wrong with that request. Please try again.