few edits permission.rb