mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
This feature allows root administrators to define new roles and associate API permissions to them. A limited form of role-based access control for the CloudStack management server API is provided through a properties file, commands.properties, embedded in the WAR distribution. Therefore, customizing API permissions requires unpacking the distribution and modifying this file consistently on all servers. The old system also does not permit the specification of additional roles. FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+Role+Based+API+Access+Checker+for+CloudStack DB-Backed Dynamic Role Based API Access Checker for CloudStack brings following changes, features and use-cases: - Moves the API access definitions from commands.properties to the mgmt server DB - Allows defining custom roles (such as a read-only ROOT admin) beyond the current set of four (4) roles - All roles will resolve to one of the four known roles types (Admin, Resource Admin, Domain Admin and User) which maintains this association by requiring all new defined roles to specify a role type. - Allows changes to roles and API permissions per role at runtime including additions or removal of roles and/or modifications of permissions, without the need of restarting management server(s) Upgrade/installation notes: - The feature will be enabled by default for new installations, existing deployments will continue to use the older static role based api access checker with an option to enable this feature - During fresh installation or upgrade, the upgrade paths will add four default roles based on the four default role types - For ease of migration, at the time of upgrade commands.properties will be used to add existing set of permissions to the default roles. cloud.account will have a new role_id column which will be populated based on default roles as well Dynamic-roles migration tool: scripts/util/migrate-dynamicroles.py - Allows admins to migrate to the dynamic role based checker at a future date - Performs a harder one-way migrate and update - Migrates rules from existing commands.properties file into db and deprecates it - Enables an internal hidden switch to enable dynamic role based checker feature Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
48 lines
2.3 KiB
Plaintext
48 lines
2.3 KiB
Plaintext
Source: cloudstack
|
|
Section: libs
|
|
Priority: extra
|
|
Maintainer: Wido den Hollander <wido@widodh.nl>
|
|
Build-Depends: debhelper (>= 9), openjdk-8-jdk | openjdk-7-jdk, genisoimage,
|
|
python-mysql.connector, maven (>= 3) | maven3, python (>= 2.7)
|
|
Standards-Version: 3.8.1
|
|
Homepage: http://www.cloudstack.org/
|
|
|
|
Package: cloudstack-common
|
|
Architecture: all
|
|
Depends: ${misc:Depends}, ${python:Depends}, genisoimage, nfs-common
|
|
Conflicts: cloud-scripts, cloud-utils, cloud-system-iso, cloud-console-proxy, cloud-daemonize, cloud-deps, cloud-python, cloud-setup
|
|
Description: A common package which contains files which are shared by several CloudStack packages
|
|
|
|
Package: cloudstack-management
|
|
Architecture: all
|
|
Depends: ${misc:Depends}, ${python:Depends}, cloudstack-common (= ${source:Version}), tomcat6 | tomcat7, sudo, jsvc, python-mysql.connector, libmysql-java, augeas-tools, mysql-client, adduser, bzip2
|
|
Conflicts: cloud-server, cloud-client, cloud-client-ui
|
|
Description: CloudStack server library
|
|
The CloudStack management server
|
|
|
|
Package: cloudstack-agent
|
|
Architecture: all
|
|
Depends: ${misc:Depends}, ${python:Depends}, openjdk-8-jre-headless | openjdk-7-jre-headless, cloudstack-common (= ${source:Version}), lsb-base (>= 4.0), libcommons-daemon-java, openssh-client, qemu-kvm (>= 1.0), libvirt-bin (>= 0.9.8), uuid-runtime, iproute, ebtables, vlan, jsvc, ipset, python-libvirt, ethtool, iptables
|
|
Conflicts: cloud-agent, cloud-agent-libs, cloud-agent-deps, cloud-agent-scripts
|
|
Description: CloudStack agent
|
|
The CloudStack agent is in charge of managing shared computing resources in
|
|
a CloudStack powered cloud. Install this package if this computer
|
|
will participate in your cloud as a KVM HyperVisor.
|
|
|
|
Package: cloudstack-usage
|
|
Architecture: all
|
|
Depends: ${misc:Depends}, openjdk-8-jre-headless | openjdk-7-jre-headless, cloudstack-common (= ${source:Version}), jsvc, libmysql-java
|
|
Description: CloudStack usage monitor
|
|
The CloudStack usage monitor provides usage accounting across the entire cloud for
|
|
cloud operators to charge based on usage parameters.
|
|
|
|
Package: cloudstack-cli
|
|
Architecture: all
|
|
Depends: ${misc:Depends}, cloudstack-common (= ${source:Version})
|
|
Description: The CloudStack CLI called CloudMonkey
|
|
|
|
Package: cloudstack-docs
|
|
Architecture: all
|
|
Depends: ${misc:Depends}
|
|
Description: The CloudStack documentation
|