1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00
Commit Graph

74 Commits

Author SHA1 Message Date
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
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
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
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
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
Carlos Martín
3fa10a2ddf Feature #407: Add 'GID' attribute to some pool objects; change *pool.info XML-RPC flag meaning; update onedb migrator; fix tests.
* VM, VMTEMPLATE, VNET & IMAGE objects have a GID attribute, and a table column. The group id is inherited from the user creating the object, except for VMs created from Templates, that inherit the Template's group.
  * The new flag meaning has been modified in src/rm sources and CLI commands for one.(vm,template,vnet,image)pool.info . It changes from
      -2 all,  -1 mine & public,  >=0 UID
    to
      -3 mine,  -2 all,  -1 mine & group
  * USER has a group, but not secondary ones. The user_pool table doesn't have a GID column, we'll deal with it later when the group-users relations are implemented.
  * onedb migrator 1.rb: deleted USERNAME, and GID added.
2011-05-16 17:00:27 +02:00
Ruben S. Montero
5bfec3ab96 feature #513: Moved SSL utils to a common Helper Class 2011-05-12 17:20:52 +02:00
Ruben S. Montero
e678b190ee feature #487: Better get_template_contents (now clone_template) 2011-04-10 23:55:49 +02:00
Carlos Martín
5b9fed52f7 Feature #487: First version of TemplatePool added to the core: DB, Pool and RM methods. 2011-03-30 19:03:49 +02:00
Ruben S. Montero
35de55685d Merge branch 'feature-407'
Conflicts:
	src/host/ClusterPool.cc
2011-03-29 00:01:00 +02:00
Ruben S. Montero
c4f4e1c988 feature #407: User pool uses de indexing methods of PoolSQL 2011-03-09 12:47:49 +01:00
Ruben S. Montero
fadbe3a4d7 feature #407: All resources now uses the base classes and index 2011-03-04 23:26:55 +01:00
Carlos Martín
de03c2859f Feature #407: User object modified for new XML DB schema 2011-03-04 17:04:28 +01:00
Jaime Melis
4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Ruben S. Montero
7ac6121da9 bug #274: Error messages are now sent to the user when allocating objects 2010-08-05 19:28:28 +02:00
Ruben S. Montero
284a2db716 feature #203: Authenticate now uses the Auth Manager infrastructure 2010-07-08 19:29:01 +02:00
Carlos Martín
4d0d92ec46 feature #206: Isolation of INSERT and REPLACE SQL queries for User objects. 2010-04-26 18:29:31 +02:00
Ruben S. Montero
7d16e4b0c8 feature #206: User classes ported to the new SQL interface 2010-04-05 00:07:31 +02:00
Javier Fontán Muiños
fdfe10407e Changed copyright notice 2010-02-22 18:00:30 +01:00
Rubén S. Montero
d965eb44aa Merge of the OpenNebulaXML branch (-r535:HEAD)
git-svn-id: http://svn.opennebula.org/one/trunk@667 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-09 14:34:34 +00:00