cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-6276) Affinity Groups within projects
Date Fri, 20 Nov 2015 09:54:10 GMT


ASF GitHub Bot commented on CLOUDSTACK-6276:

Github user ustcweizhou commented on the pull request:
    you may notice this code in
    _accountMgr.checkAccess(caller, null, true, owner, ag);
    normally it will check
    (1) caller can access owner
    (2) caller can access/modify ag (affinity group)
    (3) The account of owner and ag are the same.
    I guess you have modified the account of ag (when create an affinity group from project
view) from account to project account of project. If yes, the (2) will fail, because affinity
group has special AccessChecker that the caller can only be the account of the affinity group.
However, when we log in as Account A and go to Project view, the call is A, not the project
account of the project.
    Do you need my help to fix the issues or test the changes ?

> Affinity Groups within projects
> -------------------------------
>                 Key: CLOUDSTACK-6276
>                 URL:
>             Project: CloudStack
>          Issue Type: New Feature
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>            Reporter: Ingo Jochim
> Hello,
> I like to have the features "Affinity Group" and "Project" combined.
> As far as I know I cannot use Affinity Groups within Projects.
> Thanks and regards,
> Ingo

This message was sent by Atlassian JIRA

View raw message