Min Chen
ebfe947f41
Fixed some bugs encountered in testing iam-plugin apis.
2014-02-14 15:04:29 -08:00
Min Chen
586ee74000
Clean up SecurityChecker.AccessType and modify code to use them
...
consistently.
2014-02-14 11:23:05 -08:00
Hugo Trippaers
97bad4f9b3
Fix checkstyle and license issues
2014-02-14 18:37:47 +01:00
Ian Southam
33c2c87287
Findbugs finding
...
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-02-14 18:37:46 +01:00
miguelaferreira
1237bf3222
Fix findbugs findings in cloudstack-service-console-proxy-rdpclient
...
Findings:
- 32 int shifted by an amount not in range -31..31:
The shifts by 32 bits don't actually have any effect on the value
(as shown by the tests)
- possible null pointer dereference
- repeated conditional test
- field only ever set to null
All other uses of the field were to check if it was null,
which it was, so it was removed
Other actions:
- Upgrade jUnit to version 4
- Add PowerMock dependency
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-02-14 18:37:46 +01:00
Hugo Trippaers
cc6938e3a8
Findbugs : Fix several "of concern" findings.
2014-02-14 18:37:46 +01:00
Min Chen
4b75fa806a
Fix a NPE bug in listAclPolicies.
2014-02-13 17:57:49 -08:00
Min Chen
5bfc75cac9
Fix test build failure.
2014-02-13 11:21:07 -08:00
Min Chen
5854c0bbeb
Fix Path cannot be null error in creating ACL Policy.
2014-02-11 22:45:57 -08:00
Min Chen
97ec3f6628
Fix an AclEntityType cast bug.
2014-02-11 22:26:52 -08:00
Min Chen
63e42d3c47
Handle scopeId=-1 properly, which indicates current caller domain or
...
account.
2014-02-07 15:56:03 -08:00
Min Chen
0b5b861994
Fix a bug in listParentAclGroups to handle empty parent group case.
2014-02-07 14:13:56 -08:00
Min Chen
3b58a45e04
Merge branch 'master' into rbac.
2014-02-07 13:43:36 -08:00
Anshul Gangwar
13e0f293ed
CLOUDSTACK-6001: Fixed hyperv vm console not working for 3 minutes after migration.
2014-02-06 13:47:38 +05:30
Min Chen
7c0170e3e9
Hook up IAM update for updateTemplatePermission api.
2014-02-05 16:04:13 -08:00
Alex Huang
54f32a8e46
Moved the controlling logic for secondary storage vm into place
2014-02-05 01:39:17 +00:00
Alex Huang
4be3b99337
Moved the secondary storage service into its own server directory
2014-02-05 01:38:24 +00:00
Prachi Damle
f84375442e
Merge branch 'master' into rbac
...
Conflicts:
api/src/org/apache/cloudstack/api/command/user/autoscale/ListAutoScaleVmProfilesCmd.java
api/src/org/apache/cloudstack/api/command/user/volume/ResizeVolumeCmd.java
plugins/network-elements/juniper-contrail/test/org/apache/cloudstack/network/contrail/management/MockAccountManager.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/api/query/QueryManagerImpl.java
server/src/com/cloud/template/TemplateAdapterBase.java
setup/db/db/schema-430to440.sql
tools/apidoc/gen_toc.py
2014-02-04 12:07:32 -08:00
Prachi Damle
022b9b8f80
Add access for domain wide createAffinityGroup
2014-02-03 18:14:56 -08:00
Prachi Damle
a6d07c873c
Changes to QuerySelector to list the parent group resources with recursive = true access
2014-02-03 17:49:33 -08:00
Prachi Damle
939b15169c
changes to support the domain wide resources for Network
2014-02-03 17:34:03 -08:00
Prachi Damle
09eed3705d
Fix for NPE in the dao
2014-01-31 12:00:26 -08:00
Hugo Trippaers
8f10dedce9
Fix findbugs findings and remove dead code
2014-01-31 09:37:16 +01:00
Hiroaki KAWAI
b32b49e853
Fix mock socket client/server test.
...
Normally a server will bind to 0.0.0.0, which is not an
address that a client can specify to connect to.
127.0.0.1 or ::1 will do.
2014-01-30 21:11:56 +09:00
Prachi Damle
d12422bf68
Add policies to domain group for CreateNetwork usecase for a domain wide shared network
2014-01-29 23:56:25 -08:00
Sanjay Tripathi
dfe744c4a9
CLOUDSTACK-5900: Failed to delete template/ISO that failed to download.
2014-01-30 13:26:00 +05:30
Prachi Damle
ce95f3122b
add 'recursive' column to permission table
2014-01-29 23:48:13 -08:00
Min Chen
81323dce5d
Add support to grant acl permission to access an individual resource.
2014-01-29 17:59:24 -08:00
Sanjay Tripathi
1c4bbecc4a
CLOUDSTACK-5900: Failed to delete template/ISO that failed to download.
2014-01-29 14:07:59 +05:30
Min Chen
0063b60701
Remove ACL permission for a particular entity when it is deleted. The
...
hook is currently only done for deleteTemplateCmd.
2014-01-28 18:17:01 -08:00
Min Chen
72812cdf22
Grant public template permission to domain admin and normal user policy.
2014-01-28 17:41:27 -08:00
Min Chen
748dc1541c
Support attaching policy to account.
2014-01-28 10:00:17 -08:00
Prachi Damle
91317dc497
Changes for createDomain - create new group AND createAccount - add account to domain group
2014-01-28 09:48:19 -08:00
Sanjay Tripathi
d7ee7a7431
CLOUDSTACK-5900: Failed to delete template/ISO that failed to download.
2014-01-28 19:21:10 +05:30
Min Chen
d47d4bbd20
Guard NPE due to empty policies.
2014-01-23 18:32:48 -08:00
Min Chen
344d3a37cc
Add missing AclApiServiceImpl bean into spring xml.
2014-01-23 18:32:48 -08:00
Prachi Damle
af14699c4c
fixing the build _ AffinityGroup command changes
2014-01-23 18:17:43 -08:00
Prachi Damle
96a64b933e
- Adding OperateEntry during loading of commands
...
- Replace ListEntry By OperateEntry
- ApiDispatcher should pass on the API name
2014-01-23 17:50:59 -08:00
Anshul Gangwar
62ef61794d
Fixed check style error
2014-01-23 10:54:09 +05:30
Anshul Gangwar
6ebbec239d
CLOUDSTACK-5716: fixed can't type special character in console view
2014-01-23 10:54:09 +05:30
Anshul Gangwar
3e2f7dda9e
CLOUDSTACK-5702: Fixed mouse doesn't work for console
2014-01-23 10:54:08 +05:30
Anshul Gangwar
5941ac46d2
CLOUDSTACK-5344 commit for console proxy rdp for hyperv
2014-01-23 10:54:08 +05:30
Prachi Damle
39c0a302b4
Fix the isRootAdmin and isDomainAdmin to return true or false even if the permission is denied by IAM
2014-01-22 13:59:59 -08:00
Min Chen
82bdde70a2
Fix NPE during MS startup.
2014-01-17 18:14:04 -08:00
Prachi Damle
b444136166
Adding the correct policyIds for the command permission loading
2014-01-17 16:55:32 -08:00
Min Chen
0ce176c0dd
Add in missing resources folder for iam-server.
2014-01-17 16:16:41 -08:00
Min Chen
929fbabaa2
Merge branch 'master' into rbac.
2014-01-17 14:37:08 -08:00
Min Chen
b725035b22
Fix NPE about accessType in RoleBasedApiAccessChecker.start.
2014-01-14 18:20:32 -08:00
Prachi Damle
cc66d03f81
IAMService does not need CallingContext information
2014-01-14 16:34:47 -08:00
Min Chen
6c1849f4bf
Fix Spring wiring issues in starting up MS.
2014-01-14 16:20:30 -08:00