[ 
https://issues.apache.org/jira/browse/VCL-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946596#comment-13946596
 ] 

Andy Kurth commented on VCL-754:
--------------------------------

There is code in multiple places where the users for a reservation and whether 
or not they have root aceess is determined.  The authoritative code should be 
in utils.pm::get_request_info.  This gathers all the reservation users, checks 
the groups, and adds them to the following section of the returned hash:
{noformat}
$request_info->{reservation}{$reservation_id}{users}{$user_id}
{noformat}

There is a ROOTACCESS key for each user that gets determined within 
get_request_info.  This should be the definitive source for this information.  
This information is accessible from $self->data.

{noformat}
my $reservation_user_info = $self->data->get_reservation_users();
my $root_access = $reservation_user_info->{$user_id}{ROOTACCESS};
{noformat}


> server reservation Admin access and User access user groups
> -----------------------------------------------------------
>
>                 Key: VCL-754
>                 URL: https://issues.apache.org/jira/browse/VCL-754
>             Project: VCL
>          Issue Type: Bug
>          Components: vcld (backend)
>            Reporter: Aaron Peeler
>            Priority: Minor
>             Fix For: 2.3.3, 2.4
>
>
> If the same user group is assigned to both the Admin access and User access 
> user groups - none of the members get root access. The non-root access group 
> is overriding the Admin group.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to