Skip to content

Commit

Permalink
Revert "testing"
Browse files Browse the repository at this point in the history
This reverts commit 0eab358.
  • Loading branch information
anitagraham committed Mar 14, 2019
1 parent 0eab358 commit 125ec0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions lib/refinery/authentication/devise/authorisation_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ def current_user=(set_to_this_user)
end

def allow?(operation, resource)
Rails.logger.debug('. . . . . . . . . .')
Rails.logger.debug(operation)
Rails.logger.debug(current_user.active_plugins.names)
Rails.logger.debug(resource)
Rails.logger.debug('. . . . . . . . . .')
case
when resource == :site_bar
current_user.has_role?(:refinery)
Expand Down
2 changes: 1 addition & 1 deletion refinerycms-authentication-devise.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- spec/*`.split("\n")

s.add_dependency 'refinerycms-core', ['>= 3.0.0', '< 5.0']
s.add_dependency 'actionmailer', '>= 5.1'
s.add_dependency 'actionmailer', '>= 5.0.0'
s.add_dependency 'devise', ['~> 4.0', '>= 4.3.0']
s.add_dependency 'friendly_id', '~> 5.2.1'

Expand Down

0 comments on commit 125ec0a

Please sign in to comment.