Commit Graph
46 Commits
Author SHA1 Message Date
Ruben S. Montero a2c5a4cbaa F #4809. Fix index in PoolSQL. Update interface in all classes 2017-06-21 03:22:56 +02:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero c8f77ab8be F #4809: Remove cache from core pools 2017-05-06 00:20:29 +02:00
Ruben S. Montero a6d4ab3c9f F #4809: Update Sql database interface to include read/write/bootstrap
operations
2017-04-18 17:12:19 +02:00
Carlos Martín 69487d34c3 Feature #4317: Fix bug in group bootstrap 2016-06-01 17:13:43 +02:00
Ruben S. Montero f45fe15bc5 bug #4476: Add default views to users group at DB bootstraping 2016-05-20 14:15:18 +02:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 9e4af1ebc6 feature #3204: Security Group dynamic update. Add support to update SG
rules of running VMs though a new one.secgroup.commit operation
2016-03-01 23:31:31 +01:00
Ruben S. Montero 5761be4d10 feature #4217: Simplify Template, Attribute and PoolObjectSQL class interfaces 2016-02-05 00:33:37 +01:00
Ruben S. Montero e958ed3c2d feature - : Remove unused update methods 2015-12-10 15:39:23 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Jaime Melis 8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Carlos Martín 509300f1da Feature #3471: Remove group resource providers 2015-01-21 12:24:44 +01:00
Carlos Martín 505b0b9a6a Fix bug in group bootstrap 2014-04-11 16:08:46 +02:00
Carlos Martín 0a71139b34 Bug #2724: Add resource provider ALL to users group on bootstrap 2014-02-19 16:49:26 +01:00
Ruben S. Montero 953f11d699 feature #2693: Do not register hooks in federation slaves 2014-02-12 23:03:54 +01:00
Carlos Martín 9b7a1120d5 Feature #2693: A federation slave can now bootstrap the remaining local tables 2014-02-05 19:30:35 +01:00
Carlos Martín c36bc33fd4 Feature #2665: More DB write checks for federation slaves 2014-01-29 13:04:07 +01:00
Carlos Martín 025092f157 Feature #2672: Disable cache for federation slave nodes 2014-01-24 18:27:36 +01:00
Ruben S. Montero 03914330a4 Fix merge of master branch 2014-01-23 17:07:52 +01:00
Ruben S. Montero 7686ca93e0 Merge branch 'master' into vdc-federation
Conflicts:
	include/GroupPool.h
	include/UserPool.h
2014-01-23 16:36:22 +01:00
Carlos Martín 0a33f08de1 Feature #2632: Make two separate methods to update user/group, or its quotas 2014-01-22 18:54:48 +01:00
Carlos Martín c2f1a6d1c4 Feature #2632: Extract group quotas to another table 2014-01-16 17:08:08 +01:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Ruben S. Montero 548f2f9854 feature #1879: Fix compilation warnings 2013-04-10 23:17:54 +02:00
Ruben S. Montero b65afc38ee feature #1879: Check name for all pools 2013-04-10 14:50:00 +02:00
Carlos Martín 9179e73a83 Feature #1611: Insert default quotas element in the USER & USER_POOL xmls
This saves the extra xmlrpc call each time the pool/user is shown
2013-02-28 14:53:34 +01:00
Jaime Melis 7357bffe34 Update copyright notice 2013-01-24 16:18:30 +01:00
Jaime Melis af61e33f8c Update year to 2013 2013-01-24 16:03:57 +01:00
Ruben S. Montero 953b1c8967 feature #1013: Fix create and delete hooks for users and groups 2012-10-10 11:24:51 +02:00
Ruben S. Montero 29ad5368d2 feature #1013: Abstract hook registration. Add hook support for images, users and groups. 2012-10-09 11:56:01 +02:00
Carlos Martín 05f93acb38 Bug #1237: Disable the cache name index for the VM pool 2012-04-20 10:23:51 +02:00
Carlos Martín e522dabcc1 Feature #1112, #962: Fix a bunch of typos in error messages 2012-03-07 17:45:08 +01:00
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Carlos Martín 771a4ac8d9 Bug #848: Set name columns to 128 chars. The name length is checked for new objects 2011-10-10 17:48:06 +02:00
Jaime Melis 9f3919b0ac Bump version to 2.9.80 2011-07-12 15:36:41 +02:00
Carlos Martín 099b748585 Feature #407, #662: Groups don't have owner 2011-06-09 17:08:02 +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 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 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 e77a5f5b13 feature #407: LastOID is private for the pools. Minor changes in Group classes 2011-05-21 02:06:29 +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
Carlos Martín 211eed3289 Feature #407: Create default groups 'oneadmin' and 'users'. Make regular groups start from ID 100. Fix tests.
Feature #591: Add group_pool table to the DB migration script.
2011-05-13 12:51:23 +02:00
Carlos Martín ae53d43789 Feature #407: Base implementation for groups.
So far groups can be managed, but resources can't be associated to a group.
Tasks done:

  * New basic onegroup command
  * RequestManager XML-RPC methods
  * New group pool
  * New GROUP authorization symbol
  * Basic GroupPool tests
  * Ruby OCA methods
2011-05-10 18:45:15 +02:00