1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00
Commit Graph

54 Commits

Author SHA1 Message Date
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
d5d904b114 Feature #2632: Extract user quotas to another table 2014-01-15 16:27:50 +01:00
Javi Fontan
193e7a9cf6 feature #2371: add pagination to pool info
When the end_id of pool.info xmlrpc call is lower than -1 the parameters
do not refer to object ids but offset and cuantity used for pool pagination.r
The SQL query will have "LIMIT start_id,-end_id".
2014-01-13 16:30:43 +01:00
Jaime Melis
11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Carlos Martín
7bfb930292 Feature #1742: Add a set of group IDs to Users 2013-08-23 12:39:14 +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
29ad5368d2 feature #1013: Abstract hook registration. Add hook support for images, users and groups. 2012-10-09 11:56:01 +02:00
Ruben S. Montero
552d370593 feature #1288: Better integration for Quotas with RequestManager 2012-05-30 02:20:16 +02:00
Ruben S. Montero
d6beb1fb06 feature #1288: Work on Quota interface. Integration with authZ/authN system 2012-05-29 00:36:13 +02:00
Carlos Martín
a4426b6824 Feature #1112: Store oneadmin's ID and name in UserPool 2012-03-01 18:48:25 +01:00
Carlos Martín
d40095c523 Bug #1086: Re-implement cache key for User, Group and Host pools
(cherry picked from commit 03e6449d46)
2012-01-25 12:30:12 +01:00
Jaime Melis
a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Carlos Martín
c7584ad602 Bug #847: Automatically create at bootstrap new user serveradmin with server_cipher driver. 2011-10-25 18:49:09 +02:00
Carlos Martín
0bd23e33d9 Bug #847: Change the expected session token for server users to allow session caching 2011-10-24 18:04:00 +02:00
Ruben S. Montero
7a44026d66 bug #847: Get rid of unneeded constructor in AuthRequest 2011-10-21 10:15:26 +02:00
Ruben S. Montero
3a2cbc229b bug #847: This commit includes several changes to the auth mechanism:
1.- Simplified auth methods for UserPool
2.- Added special SERVER_AUTH method for sudo'ing
3.- Added special PUBLIC_AUTH method for only-public interface users
4.- Added special driver name ("default") to authenticate unknown users
2011-10-21 01:17:46 +02:00
Carlos Martín
30734a57f2 Bug #847 - #929: Add session expiration time in oned.conf 2011-10-20 12:53:36 +02:00
Ruben S. Montero
30a9162f5e Merge branch 'master' into bug-847
Conflicts:
	src/um/UserPool.cc
2011-10-15 00:22:52 +02:00
Ruben S. Montero
cbf64ecf1b bug #847: Auth drivers are set in OpenNebula core. Login tokens do not include the driver, so the hash logic needs update, see #911 2011-10-11 19:15:13 +02:00
Carlos Martín
21bca20780 Bug #848: Add error message and stop oned execution if bootstrap fails 2011-10-10 06:14:46 -07:00
Ruben S. Montero
66485c6ed7 MULTIPLE GROUPS: Removed initial effort to support multiple user groups for the users. This should be easily recovered to complete this feature in the future 2011-07-07 19:01:04 +02:00
Ruben S. Montero
8e33e4cded feature #687: Resources now stores the name of the owner and the group 2011-06-30 11:31:00 +02:00
Carlos Martín
303db36d95 Feature #687: ACL Manager looks for rules that apply to any of the user's groups 2011-06-29 12:50:16 +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
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
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
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
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
c3e29e7f83 feature #662: New authenticate method returns the GID 2011-05-24 15:15:23 +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
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
35de55685d Merge branch 'feature-407'
Conflicts:
	src/host/ClusterPool.cc
2011-03-29 00:01:00 +02:00
Carlos Martín
cc81b3cf65 Feature #407: ClusterPool is now a full PoolSQL class 2011-03-14 19:06:39 +01:00
Ruben S. Montero
6ea29d6881 feature #407: moved dump to .h 2011-03-09 13:23:01 +01:00
Ruben S. Montero
6246c89df9 Merge branch 'feature-407' of dsa-research.org:one into feature-407. Restored previous UserPool tests.
Conflicts:
	include/UserPool.h
2011-03-09 12:51:41 +01:00
Ruben S. Montero
c4f4e1c988 feature #407: User pool uses de indexing methods of PoolSQL 2011-03-09 12:47:49 +01:00
Carlos Martín
b2f1051e07 Feature #407: Refactor of pool dumps to be performed in PoolSQL class 2011-03-09 11:25:46 +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
Jaime Melis
4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Ruben S. Montero
88341b948b Fix compilation warnings with gcc 4.1.2 (CentOS 5.4). Patch by Charles Loomis & Ruben S. Montero
(cherry picked from commit f12a1b6e1c)

Conflicts:

	include/RequestManager.h
	src/host/Host.cc
	src/rm/RequestManagerPoolInfo.cc
2010-09-02 20:44:14 +02: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
edea2edf2b feature #203: Integrated VM allocation with AuthManager 2010-07-09 12:10:05 +02:00
Ruben S. Montero
04a85b90ad feature #203: New authorize method for users that use the AuthManager subsystem 2010-07-08 19:45:00 +02:00
Carlos Martin and Ruben S. Montero
7043f80c51 bug: better comments for the UserPool and erro returning oid in allocate 2010-04-28 18:37:45 +02:00