Bug #2876

Improve GROUP_ADMIN_VIEWS check

Added by Daniel Molina about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:05/07/2014
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:Sunstone
Target version:Release 4.6.1
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.6

Description

SunstoneViews.rb

            if !gadmins.nil? && gadmins =~ /#{user_name}/ && group["TEMPLATE/GROUP_ADMIN_VIEWS"]
                available << group["TEMPLATE/GROUP_ADMIN_VIEWS"].split(",")
            end

gadmins.split(',').include?(user_name)

instead of

gadmins =~ /#{user_name}/

Associated revisions

Revision 699a725f
Added by Daniel Molina about 7 years ago

bug #2876: Improve GROUP_ADMIN_VIEWS check

Revision fb205341
Added by Daniel Molina about 7 years ago

bug #2876: Improve GROUP_ADMIN_VIEWS check
(cherry picked from commit ec0f86a227100146f5c90d02e7ee48d8ddb3a6d9)

History

#1 Updated by Ruben S. Montero about 7 years ago

  • Assignee set to Daniel Molina

#2 Updated by Daniel Molina about 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF