Commit Graph
57 Commits
Author SHA1 Message Date
Ruben S. MonteroandPavel Czerny 500e45dbd6 F #1401: Configurable VM_*_OPERATIONS per group and user. Restructure of the API
authorization levels and initialization logic.

Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-09 13:13:52 +02:00
Vlastimil Holer 441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Ruben S. Montero f54e066949 F #2489: Improve performance of oned:
* Reduce memory footprint
    * Improve connection handling in the RequestManager
    * Reduce the number of locking calls
    * Reduce the size of the VM pool
2018-10-09 11:15:59 +02:00
juanmont 389c10b238 F #2260: Added new wrapper to pass Pool and ObjectType
(cherry picked from commit b89a8fe5ca)
2018-09-13 15:50:01 +02:00
juanmont 176988cb52 F #2260: Fixed problem with generic function chown (#2413)
(cherry picked from commit 75ec599a4f)
2018-09-12 11:53:39 +02:00
Ruben S. Montero 08bfc40b72 commit 78c4be0ea0
Author: juanmont <juanmont@ucm.es>
Date:   Tue Sep 4 17:35:17 2018 +0200

    F #2260: Allow all VM actions for the VRouter VMs except
    nic-attach/dettach. Recursive chmown/chmod for VR
2018-09-10 20:04:04 +02:00
juanmont 7be6e601f0 F #2228: Fixed bug with Chown action and running quotas
(cherry picked from commit 912359bafc)
2018-09-07 12:37:26 +02:00
Ruben S. Montero d7ce29183c F #1377: Added new funtion to check lock state with oneadmin. Missing
action names. Functions to test oneadmin or admin roles
2018-05-23 14:42:57 +02:00
Ruben S. Montero 37222d65dc F #1792: Greatly improve concurrency by: Remove big lock on pool control class. Increase number of MySQL connections (new configuration variable). Make all parser reentrants. This commit also simplifies the pool references.
(cherry picked from commit a3d3ceb771034794c4fb453dcd9aaff64c53baed)
2018-03-17 23:35:21 +01:00
Vlastimil Holer a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +01:00
Ruben S. Montero 22f90e98c4 B #5022: Restore original permissions to chgrp operation 2017-06-13 11:49:27 +02:00
Ruben S. Montero 125a6825ca B #5022: Group Admin have MANAGE over the group. Update permissions to
add an user to a group.
2017-06-09 16:14:02 +02:00
Ruben S. Montero eff03086e9 B #5166: Take into account ds usage (SELF datastores) when changing VM
ownership
2017-06-05 18:14:37 +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 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
Carlos Martín 8419b29f16 Feature #4715: Disable group edits for drivers that manage groups 2016-08-23 15:36:55 +02:00
Ruben S. Montero 36d48bfe1f bug #4496: Do not allow to change ownership for VMs in DONE 2016-06-01 16:10:47 +02:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 3d8d2fd81e feature #4215: Simplify interface for util::gsub. Decouple Request methods to
better support static request actions.
2016-02-01 00:18:47 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Ruben S. Montero dfdbc516d1 feature #3782: Quotas for one.image snapshots actions 2015-06-19 13:47:44 +02:00
Jaime Melis 8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Ruben S. Montero f57e0b4c1c feature #2858: Adjust quotas on VNET chown 2014-06-03 16:09:26 +02:00
Ruben S. Montero f949691cef bug #2565: Join get_info and get_info_without_error 2014-03-08 00:02:38 +01:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Carlos Martín 913a96f7e8 Feature #1742: chgrp does not delete the user from the previous group
This allows users to use the chgrp to change their own primary
group to one of the secondary ones
2013-08-23 18:37:50 +02:00
Carlos Martín 7bfb930292 Feature #1742: Add a set of group IDs to Users 2013-08-23 12:39:14 +02: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 1da0343cf7 Fix bug: chown of a nonexisting object caused a seg. fault
(cherry picked from commit f174db10dd)
2012-07-05 18:56:41 +02:00
Carlos Martín b44903882b Bug #1322: Check if user quota rollback is needed; polish quota error messages
(cherry picked from commit 1130e37a2e)
2012-06-28 13:22:32 +02:00
Carlos Martín 165a23d91e Feature #1288: Oneadmin can't be moved outside of the oneadmin group 2012-06-21 15:17:07 +02:00
Carlos Martín 4c6233bd09 Bug #1308: Before a chown operation, check if the new user already has an object with the same name 2012-06-20 17:33:00 +02:00
Ruben S. Montero f8fa2e09d0 feature #1223: Modified Quota interface to accomodate Attach/Detach operations 2012-06-15 23:33:50 +02:00
Ruben S. Montero 981db30338 feature #1288: Support for Group quotas 2012-06-08 22:14:40 +02:00
Ruben S. Montero 654e840871 feature #1288: Update quotas for chown operations 2012-06-08 01:50:15 +02:00
Ruben S. Montero dc85b9ba1a feature #1288: Quotas for the SAVE_AS operation 2012-06-06 17:52:44 +02:00
Carlos Martín 07eba81abd Feature #1112: refactor Request::get_info 2012-02-28 17:59:03 +01:00
Ruben S. Montero 404b34c98a bug #1087: More work on the cache
(cherry picked from commit f05942f6e4)
2012-01-26 11:34:20 +01:00
Carlos Martín b081743902 Bug #1087: Update cache name index after a chown operation
(cherry picked from commit def2de2a68)
2012-01-25 15:58:34 +01:00
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero 3088f5ca5c feature #862: Refactor Chown function 2012-01-05 01:45:53 +01:00
Carlos Martín f1978f620a Feature #862: Change chown auth requests, allowing users to change their group, and change the group of their resources if they have USE rights over the new Group 2012-01-03 22:59:40 +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 77cf88ca5d Clean some TODOs in core 2011-09-21 16:13:04 +02: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
Carlos Martín 03fac9096a Bug #702: xmlrpc-c does not create a new xmlrpc_c::method class for each request.
Instead, it creates a single instance and its execute method is called for each new request.
This caused some variables to be shared by several threads, which eventually ended in
segmentation fault.
2011-07-07 12:45:13 +02:00
Ruben S. Montero 255c8ff886 feature #687: user and group name are now stored in XML descriptions 2011-06-30 12:09:25 +02:00
Carlos Martín 48813d8a45 Feature #662: Fix small bugs in RMChown 2011-06-09 16:53:03 +02:00