You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/10/17 04:58:33 UTC

[jira] [Commented] (VCL-672) privilege page does not handle user groups with the same name but different affiliations correctly

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

ASF subversion and git services commented on VCL-672:
-----------------------------------------------------

Commit 1632463 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1632463 ]

VCL-672 - privilege page does not handle user groups with the same name but different affiliations correctly

xmlrpcWrappers.php: modified XMLRPCgetUserGroupPrivs, XMLRPCaddUserGroupPriv, and XMLRPCremoveUserGroupPriv: use $groupid as key for data in arrays returned by getNodeCascadePrivileges and getNodePrivileges instead of $name

privileges.php:
-modified viewNodes, selectNode, printUserPrivRow, getUserPrivRowHTML, and checkUserHasPriv: use group id as key for data in arrays returned by getNodeCascadePrivileges and getNodePrivileges instead of group name
-modified userLookup: (unrelated to issue) expanded query for loginlog to include unityid@affiliation
-modified getNodePrivileges and getNodeCascadePrivileges: use group id as key in returned array of data instead of group name

> privilege page does not handle user groups with the same name but different affiliations correctly
> --------------------------------------------------------------------------------------------------
>
>                 Key: VCL-672
>                 URL: https://issues.apache.org/jira/browse/VCL-672
>             Project: VCL
>          Issue Type: Bug
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>             Fix For: 2.4
>
>
> The getNodePrivileges and getNodeCascadePrivileges functions build data structures using user group names as indices but without the affiliation.  So, a node cannot have two user groups with the same name but different affiliations assigned to it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)