[ https://issues.apache.org/jira/browse/CLOUDSTACK-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavan Kumar Bandarupally closed CLOUDSTACK-4075. ------------------------------------------------ Verified on latest 4.2 build and user (non-admin) privilege is able to archive his events. > User unable to archive events > ----------------------------- > > Key: CLOUDSTACK-4075 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4075 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.2.0 > Environment: Latest Cloudstack 4.2 setup with host on KVM hypervisor > Reporter: Pavan Kumar Bandarupally > Assignee: Sanjay Tripathi > Priority: Critical > Fix For: 4.2.0 > > > User ( non-admin privilege ) is not able to archive his events either by type > or using time period. A permission denied error is thrown. > 2013-08-05 21:55:21,558 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null) > ===START=== 10.146.0.12 -- GET > command=archiveEvents&response=json&sessionkey=H2zcoo8rU8MaSTr2ixvKaAtvMxs%3D&startdate=2013-08-05&enddate=2013-08-05&_=1375700427624 > 2013-08-05 21:55:21,609 INFO [cloud.api.ApiServer] (catalina-exec-9:null) > PermissionDenied: Acct[3-pavantest] does not have permission to operate with > resource com.cloud.event.EventVO$$EnhancerByCGLIB$$73ed907e@5c4c6bbf on objs: > [] > 2013-08-05 21:55:21,613 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null) > ===END=== 10.146.0.12 -- GET > command=archiveEvents&response=json&sessionkey=H2zcoo8rU8MaSTr2ixvKaAtvMxs%3D&startdate=2013-08-05&enddate=2013-08-05&_=1375700427624 > 2013-08-05 21:55:21,738 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===START=== 10.146.0.12 -- GET > command=listEvents&response=json&sessionkey=H2zcoo8rU8MaSTr2ixvKaAtvMxs%3D&listAll=true&page=1&pagesize=20&_=1375700427725 > 2013-08-05 21:55:21,758 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===END=== 10.146.0.12 -- GET > command=listEvents&response=json&sessionkey=H2zcoo8rU8MaSTr2ixvKaAtvMxs%3D&listAll=true&page=1&pagesize=20&_=1375700427725 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira