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

87 Commits

Author SHA1 Message Date
Vlastimil Holer
a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +01:00
Ruben S. Montero
b12113e5aa B #5425: License and minor formatting 2017-10-20 14:17:55 +02:00
juanmont
3c46ff3366 B #5425: Changed UserPool and HostPool for to work with CachePool 2017-10-19 16:41:42 +02:00
Ruben S. Montero
721efccf13 B: Force free memory of object templates
(cherry picked from commit fa79b91974)
2017-10-06 23:27:21 +02:00
Javi Fontan
8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero
bca17f4ee6 F #4809: Update SqlDB method name. DO NOT replicate monitoring data 2017-04-21 19:16:45 +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
Ruben S. Montero
2e0cd9509f feature #4714: Check EGID as stored in the token is still a valid group for the user. 2016-08-31 18:24:15 +02:00
Ruben S. Montero
27c5a7ea48 feature #4714: Add multiple authentication tokens per user. Tokens are
extended to include an efective gid, used for object creation and
authorization (when using the token).
2016-08-31 14:52:33 +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
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
Ruben S. Montero
0f44677325 feature #2796: Client side utilities to manage tokens: Ruby OCA, oneuser CLI. Also the token management across drivers (SSH & X509 included) is now homogenous 2014-09-06 22:22:40 +02:00
Ruben S. Montero
91e15fb377 feature #2796: Add login token to User object, the LoginToken is persistent 2014-09-03 17:15:13 +02:00
Ruben S. Montero
75889814f1 feature #2796: Add LoginToken class to abstract token management both for sessions and tokens 2014-09-03 14:10:45 +02:00
Ruben S. Montero
88987631d9 feature #2858: Add umask to Request attributes 2014-05-27 12:58:46 +02:00
Ruben S. Montero
dbe21675fa System attributes, Group and User quotas are local tables needs to be bootstraped locally 2014-03-08 02:44:53 +01:00
Carlos Martín
2e8dc65fd6 Bug #2503: Add rollback in case of error 2014-03-04 17:09:04 +01:00
JensHoffmann
0a3ba8aca9 Bug #2503: Improve setting of password/auth_driver
UserChangePassword followed this strategy:
  a1. Eventually encrypt user password if the users
      auth_driver is CORE_AUTH
  a2. Set (probably encrypted) password with
      User::set_password
  a3. User::set_password tries to validate (probably
      encrypted) password instead of the raw password

UserChangeAuth did something similar:
  b1. If password is given (not empty) do a1 through a3
  b2. Set auth_driver

The change proposes the following:
 * In set_password:
    1. Validate the raw password
    2. Do encryption if needed
 * In UserChangePassword: simply call set_password
 * In UserChangeAuth: set auth_driver *before* calling
   set_password, such that set_password does the right thing
   if the auth_driver changes

Note: I needed to move the implementation of set_password
from User.h to User.cc since it seems impossible to access
UserPool::CORE_AUTH from within User.h.
2014-03-04 17:00:11 +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
Ruben S. Montero
cda9fa28e7 feature #2632: Moved DB implementation to its own class 2014-01-21 23:21:18 +01:00
Carlos Martín
d5d904b114 Feature #2632: Extract user quotas to another table 2014-01-15 16:27:50 +01:00
Jaime Melis
11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Javi Fontan
1abee8aafc Take advantage of delete not acting on null values
Nebula.h and User.h
2013-12-10 18:03:03 +01:00
Carlos Martín
7bfb930292 Feature #1742: Add a set of group IDs to Users 2013-08-23 12:39:14 +02:00
Ruben S. Montero
5dc50875d4 feature #1879: New function to check object names. 2013-04-10 12:56:06 +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
Carlos Martín
780d7742f2 Feature #1681: Read User template's UMASK attribute to create new objects 2013-01-21 14:38:07 +01:00
Ruben S. Montero
819f1b6a41 feature #1288: Abstract quota functionality to be reused by Groups 2012-06-08 13:45:15 +02:00
Ruben S. Montero
82e3f2e052 feature 1288: Add missing updates after modifying user quotas. XML-RPC method to set user quotas 2012-06-07 00:04:08 +02:00
Ruben S. Montero
5c7dc58c66 feature #1288: Image Quotas 2012-06-05 23:32:05 +02:00
Ruben S. Montero
4420b1d81b feature #1288: New VM and Network quotas. Integration qith VM create operation 2012-06-05 19:04:02 +02:00
Ruben S. Montero
e73c78869b feature #1288: Better interface for Quotas 2012-06-04 00:45:56 +02:00
Ruben S. Montero
ce3609c28c feature #1288: Better syntax to define DATASTORE quotas 2012-06-02 02:58:46 +02:00
Ruben S. Montero
6819043e4e feature #1288: Add rollback to image creation 2012-05-30 12:53:51 +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
Ruben S. Montero
18695f1314 feature #1288: Image quotas in the user class 2012-05-28 00:13:38 +02:00
Carlos Martín
3c1cf1f1b3 Feature #1112: Fix oneimage update (broken in commit:92dd8d4c) 2012-03-14 15:48:06 +01:00
Jaime Melis
a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero
e6628a1f75 Feature #862: Re-factor PoolObjectAuth. Moved ObjectType to PoolObjectSQL. simplified interface for AuthManger::add_auth. 2012-01-03 02:58:23 +01:00
Carlos Martín
75d5e7a1fb Add the Object type to the PoolObjectAuth class 2012-01-02 22:14:43 +01:00
Carlos Martín
f0d8ac78d6 Bug #759: Check if XML is valid before it is stored in the DB. 2011-12-19 17:09:31 +01:00
Ruben S. Montero
7a44026d66 bug #847: Get rid of unneeded constructor in AuthRequest 2011-10-21 10:15:26 +02:00
Carlos Martín
86c127320e Bug #847: Perform sha1 for new passwords if the core driver is used 2011-10-20 19:22:42 +02:00
Carlos Martín
30734a57f2 Bug #847 - #929: Add session expiration time in oned.conf 2011-10-20 12:53:36 +02:00