Skip to content

Commit

Permalink
Merge pull request #3882 from skateman/fix-rbac-about
Browse files Browse the repository at this point in the history
Validate Help->Documentation screen against the documentation feature
(cherry picked from commit 2b4ec4c)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1569170
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1575713
  • Loading branch information
Martin Povolny authored and simaishi committed May 14, 2018
1 parent 3395410 commit cd57a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/support_controller.rb
Expand Up @@ -27,7 +27,7 @@ def about
private ############################

def check_support_rbac
handle_generic_rbac(role_allows?(:feature => 'support', :any => true))
handle_generic_rbac(role_allows?(:feature => 'documentation', :any => true))
end

def get_layout
Expand Down

0 comments on commit cd57a6a

Please sign in to comment.