Bug #2876
Improve GROUP_ADMIN_VIEWS check
Status: | Closed | Start date: | 05/07/2014 | |
---|---|---|---|---|
Priority: | Normal | Due 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
bug #2876: Improve GROUP_ADMIN_VIEWS check
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