Kishan Kavala
e2915c6ce5
CLOUDSTACK-5145 : Added permission checks while deleting network ACLs
2013-12-16 18:12:44 +05:30
Kishan Kavala
3a3fec3cb6
CLOUDSTACK-5145 : Added permission checks while deleting network ACLs
...
Conflicts:
server/src/com/cloud/network/vpc/NetworkACLServiceImpl.java
2013-12-16 18:02:43 +05:30
Alex Huang
be5e5cc641
All Checkstyle problems corrected
2013-12-12 12:26:07 -08:00
Jayapal
27ee78fe0a
CLOUDSTACK-5244 Fixed issue with applying acl items of acl to private gateway
2013-12-11 11:02:15 +05:30
Kishan Kavala
587f587621
CLOUDSTACK-5145 : Added permission checks while listing network ACLs and acl Items. Users will be able to list items that they have access to.
...
Conflicts:
api/src/com/cloud/network/vpc/NetworkACLService.java
api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLListsCmd.java
server/src/com/cloud/network/vpc/NetworkACLServiceImpl.java
server/test/com/cloud/vpc/NetworkACLServiceTest.java
2013-12-09 21:57:47 +05:30
Alex Huang
d620df2bdd
Reformatted all of the code.
2013-11-21 06:15:26 -08:00
Alex Huang
8d62744681
Reformat all source code. Added checkstyle to check the source code
2013-11-20 07:26:53 -08:00
Alena Prokharchyk
2bb716efd8
ResourceMetaData (Resource details) fixes:
...
* changed name for TaggedResourceType enum to ResourceObjectType as this enum is used both by ResourceMetaData and ResourceTags code
* enhanced the enum with extra fields resourceTagsSupport (boolean) and metadataSupport identifying if the resource supports tags and/or metadata.
* cleanup unused @Inject objects from the ResourceMetaDataManager
2013-10-23 17:39:16 -07:00
Alex Huang
435e74e914
Commit to try something on removing getZone
2013-09-06 15:40:33 -07:00
ahuang
11e1e585b1
UserContext switched to CallContext. Added generic storage mechanism for other code to carry information throughout a call. Made the calling User and Account a must have. Added an interface to carry entities in error. Fixed up the code. Part of the vmsync branch
2013-07-16 11:24:21 -07:00
Kishan Kavala
bd5ad442d0
CLOUDSTACK-3084: Added check to disallow -ve number for ACL rule
2013-06-24 17:20:29 +05:30
Kishan Kavala
b422d8ddd9
CLOUDSTACK-2819: Revoke existing ACL items if the new ACL is empty
2013-06-20 17:06:06 +05:30
Kishan Kavala
03d1346dc3
CLOUDSTACK-2915: Create network ACL when adding ACL item to a tier without ACL for backward compatibility
2013-06-20 15:36:58 +05:30
Mice Xia
5e56e43e31
fix CLOUDSTACK-2930, exception while applying ACL rule with protocol as ALL.
...
1) change UI, disable startport and endport when protocol=All
2) validate parameters for API createNetworkACL
2013-06-14 13:19:07 +08:00
Kishan Kavala
aa2fb31112
check for null protocol while validating ACL item
2013-06-06 19:02:44 +05:30
Kishan Kavala
6cc9162e76
CLOUDSTACK-2781: Fixed incorrect vpcId set in search criteria while listing network acls
2013-06-03 14:58:05 +05:30
Kishan Kavala
612afbd179
CLOUDSTACK-2553: Made ACL item action case-insensitive
2013-05-20 18:06:12 +05:30
Mice Xia
6d57393629
instead of using '==', use equals() to test Long value equality
2013-05-16 16:00:02 +08:00
Kishan Kavala
3388b77156
CLOUDSTACK-2487: Show error while adding acl_item to default ACL
2013-05-15 12:51:08 +05:30
Jayapal
46f8b6f34a
CLOUDSTACK-2400 updated the error message and replacenetworkacl on private gateway
2013-05-14 16:11:33 +05:30
Jayapal Reddy
2d950e2858
CLOUDSTACK-768: ACL on private gateway
2013-05-13 19:24:23 +05:30
Kishan Kavala
5e009c4bcd
CLOUDSTACK-763: Added comments and removed unused imports
2013-05-13 12:03:39 +05:30
Kishan Kavala
5e1d216197
CLOUDSTACK-763: Added unit tests and integration test
2013-05-13 12:03:39 +05:30
Kishan Kavala
14e992e953
CLOUDSTACK-763: Removed unused methods
2013-05-13 12:03:39 +05:30
Kishan Kavala
49fbff21fa
CLOUDSTACK-763: Added API updateNetworkACLItem to update an existing ACL Item
2013-05-13 12:03:39 +05:30
Kishan Kavala
b30a01a705
CLOUDSTACK-763: Added acl_id param to createNetwork API. Backend changes for acl_deny. Support for all protocol and protocol number
2013-05-13 12:03:38 +05:30
Kishan Kavala
750bfe76ca
CLOUDSTACK-763: Added filters to list APIs. Seperated service interface implementation to NetworkACLServiceImpl. Added default ACL to upgrade schema
2013-05-13 12:03:38 +05:30