bug 7352: implemented security for the list ip fwding rules cmd, to filter results based on user

status 7352: resolved fixed
This commit is contained in:
abhishek 2010-12-02 09:49:47 -08:00
parent d0fc07496f
commit dc5c82456c

View File

@ -2553,7 +2553,7 @@ public class ManagementServerImpl implements ManagementServer {
@Override
public List<FirewallRuleVO> searchForIpForwardingRules(ListIpForwardingRulesCmd cmd){
//Note
//Note::
//The following was decided after discussing with Will
//ListIpForwardingRules with no params lists the rules for that user ; with a listAll() for admin
//ListIpForwardingRules with accountName and domainId lists the rule for that account (provided the executing user has the right perms)