1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00
Commit Graph

411 Commits

Author SHA1 Message Date
Ruben S. Montero
591bee2f54 feature #407: Recover checks when changing groups 2011-06-09 12:29:38 +02:00
Ruben S. Montero
60294c229b feature #407: Fixes tests for Users. Groups are added in allocate 2011-06-09 12:05:46 +02:00
Ruben S. Montero
589fa7a875 feature #407: Fixes Image tests. persistent method returns 0 (not true) for successful operations 2011-06-09 10:51:17 +02:00
Ruben S. Montero
d6206edfa8 feature #407: Changed implementation for user.chown. Removed host.chown. set_gid/uid in PoolObjectSQL does not check gid. Old groups updated when changing users primary groups 2011-06-09 00:58:57 +02:00
Ruben S. Montero
954038d426 feature #407: Users gets the gid of user performing the allocate if not oneadmin. Group are added to users groups in constructor. Groups are updated in user allocate 2011-06-09 00:12:39 +02:00
Carlos Martín
edf3df5671 Feature #662: Add error message to PoolSQL::drop 2011-06-08 19:18:12 +02:00
Carlos Martín
069cd6bfb1 Feature #662: User add/del group: fix a couple of bugs, and better error messages. 2011-06-07 16:58:40 +02:00
Carlos Martín
43a7c5c67b Feature #662: New user.chown method. Allow chown to change either owner or group alone. 2011-06-07 16:55:23 +02:00
Carlos Martín
1c1d981cfe Feature #662: Better one.*.delete method implementation. GroupPool::drop checks for errors, and returns error messages. 2011-06-07 16:32:18 +02:00
Ruben S. Montero
ca3d0154c8 feature #662, #407: Better error messages. Added some missing pool updates and mutex unlocks 2011-06-04 04:02:19 +02:00
Ruben S. Montero
e3a930dd10 feature #662: Better error messages for authZ operations 2011-06-04 02:51:50 +02:00
Carlos Martín
064ea08895 Merge branch 'feature-407rm' of git.opennebula.org:one into feature-407rm 2011-06-03 19:09:55 +02:00
Ruben S. Montero
d1cba31ce3 feature #662: Missing RM file 2011-06-03 19:10:56 +02:00
Carlos Martín
16aa776f7e Merge branch 'feature-407rm' of git.opennebula.org:one into feature-407rm
Conflicts:
	src/rm/RequestManager.cc
	src/rm/SConstruct
2011-06-03 19:09:44 +02:00
Carlos Martín
0fecbced92 Feature #662: Refactored RM methods for Hosts and Images 2011-06-03 19:01:52 +02:00
Ruben S. Montero
8c8ead4f74 feature #407: new CHOWN operation in AuthManager 2011-06-03 18:26:59 +02:00
Ruben S. Montero
881d6968d8 feature #662, #407: New chown methods 2011-06-03 18:08:20 +02:00
Ruben S. Montero
c004100564 Merge branch 'feature-407rm' of git.opennebula.org:one into feature-407rm
Conflicts:
	src/host/HostPool.cc
2011-06-03 17:01:52 +02:00
Ruben S. Montero
70435d9043 feature #407, #662: New User methods in RM and some changes in the add/del group interface 2011-06-03 16:58:42 +02:00
Carlos Martín
e28ad2a69d Feature #662, #407: Delete operator<< from PoolObjectSQL classes. Remove Cluster objects. 2011-06-03 15:33:48 +02:00
Ruben S. Montero
532982b6fb feature #407: Prevent some deadlocks when adding/removing users from groups 2011-06-03 13:31:11 +02:00
Ruben S. Montero
3cf5d5e7cd feature #407: Moved implementation of ObjectCollection to cc file 2011-06-03 12:11:33 +02:00
Ruben S. Montero
72435cd453 Merge branch 'feature-407' into feature-407rm
Conflicts:
	include/Host.h
	include/PoolObjectSQL.h
	include/RequestManager.h
	src/rm/RequestManager.cc
	src/rm/RequestManagerUserAllocate.cc
	src/rm/SConstruct
2011-06-02 23:21:14 +02:00
Carlos Martín
fa46633339 Feature #662: New update method for Images and Templates added to OCA and CLI (work in progress).
New template instantiate method in OCA and CLI.
Fix small bugs in RM.
2011-06-02 19:17:22 +02:00
Ruben S. Montero
9af500b4cd feature #662: Adding/removing files 2011-06-02 00:55:43 +02:00
Ruben S. Montero
d42f3d33f1 feature #662, #607: New update methods updates object templates (hosts, images and vm templates) 2011-06-02 00:51:42 +02:00
Ruben S. Montero
c7625b4836 feature #662, #607: Replace function for templates, Added VMTemplate functions 2011-06-02 00:20:42 +02:00
Ruben S. Montero
686b8d5b40 feature #662: Removed uneeded files. New factory method to get templates from a PoolObjectSQL 2011-06-01 23:53:09 +02:00
Ruben S. Montero
af3eed6063 feature #622: VirtualMachine Methods 2011-06-01 18:18:36 +02:00
Ruben S. Montero
437a01a2c6 feature #622: Added PERSISTENT tag to DISKs based in persistent IMAGES. New method to setup auth requests for virtual machine templates. 2011-06-01 12:41:46 +02:00
Ruben S. Montero
0a13288330 feature #622: VirtualMachineAllocate method in Request Manager 2011-06-01 12:37:39 +02:00
Ruben S. Montero
e61cd923c5 feature #662: Deleted unneeded file and moved object to string method 2011-05-31 00:16:57 +02:00
Ruben S. Montero
700d92738e feature #622: VirtualNetwork methods uses a common base class 2011-05-29 00:37:59 +02:00
Ruben S. Montero
5bde303fc8 feature #662: Moved string representation of Auth objects for error printing 2011-05-28 11:36:24 +02:00
Ruben S. Montero
25068e4d59 feature #662: Allocate methods 2011-05-28 04:03:09 +02:00
Ruben S. Montero
fb3d3a88bb feature #662: Common method for publish requests 2011-05-27 00:21:14 +02:00
Ruben S. Montero
b050a5da9f feature #622: Public is now an attribute of PoolObjectSQL. Redesign of authorization function 2011-05-26 12:20:56 +02:00
Ruben S. Montero
fc15b443b6 feature #662: Delete uses a common Request. Moved more functionality to base classes 2011-05-26 00:59:50 +02:00
Ruben S. Montero
c15a9e9a12 feature #622: Info methods use a comon execute function 2011-05-25 19:26:52 +02:00
Carlos Martín
7285fbd5c0 Merge branch 'feature-407' of git.opennebula.org:one into feature-407
Conflicts:
	include/Group.h
	include/User.h
	src/cluster/Cluster.cc
	src/cluster/ClusterPool.cc
	src/group/Group.cc
	src/rm/RequestManagerUserAllocate.cc
	src/um/User.cc
2011-05-25 14:56:35 +02:00
Ruben S. Montero
d16ee7254c feature #662: Info methods for objects. Now the info requests are authorized 2011-05-25 13:57:00 +02:00
Carlos Martín
6230001c56 Feature #407:
* Chown method: destination user and group are checked, auth. manager request used.
  * New one.group.chown method.
  * New ObjectCollection class to store sets of IDs.
  * New RM user.addgroup user.delgroup methods, users and groups store a cross-reference ID set.
  * Clusters store a set of Host IDs. The RM part of the add/remove host functionality works, but should be re-done to avoid deadlocks.
  * Fix onedb schmea for template_pool table bug.
2011-05-25 12:13:17 +02:00
Ruben S. Montero
01d932adea feature #622: Added auth for the pool infos. New Auth action is INFO_POOL 2011-05-24 17:52:17 +02:00
Ruben S. Montero
ac46cf5dee feature #662: Pool Info methods now uses the same implementation 2011-05-24 17:31:27 +02:00
Ruben S. Montero
061ea1b397 feature #622: Harden RequestManager Class. New authenticate method for the UserPool returns group. Tests have been updated 2011-05-24 15:36:40 +02:00
Ruben S. Montero
04977725a0 feature #662: moved error codes to Request.h class 2011-05-24 15:23:07 +02:00
Ruben S. Montero
c3e29e7f83 feature #662: New authenticate method returns the GID 2011-05-24 15:15:23 +02:00
Ruben S. Montero
043cba4cee feature #662: New Request class to abstract XML-RPC requests 2011-05-24 14:32:39 +02:00
Ruben S. Montero
122a45ac28 feature #407: order of uid, gid the same for constructors. Solved som issues with fix_times 2011-05-22 22:30:36 +02:00
Ruben S. Montero
3efc2abdc1 Merge branch 'master' into feature-407
Conflicts:
	install.sh
2011-05-21 02:28:23 +02:00