[
https://issues.apache.org/jira/browse/CLOUDSTACK-8562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237589#comment-15237589
]
ASF GitHub Bot commented on CLOUDSTACK-8562:
--------------------------------------------
Github user bhaisaab commented on the pull request:
https://github.com/apache/cloudstack/pull/1489#issuecomment-209018498
## test_staticroles.py
=== TestName: test_static_role_account_acls | Status : SUCCESS ===
## scripts/util/migrate-dynamicroles.py
I'll add docs for this feature in a separate PR to admin-docs, this is the
usage information:
Usage: migrate-dynamicroles.py [options]
Options:
-h, --help show this help message and exit
-b DB, --db=DB The name of the database, default: cloud
-u USER, --user=USER User name a MySQL user with privileges on cloud
database
-p PASSWORD, --password=PASSWORD
Password of a MySQL user with privileges on cloud
database
-H HOST, --host=HOST Host or IP of the MySQL server
-P PORT, --port=PORT Host or IP of the MySQL server
-f COMMANDSFILE, --properties-file=COMMANDSFILE
The commands.properties file
-d, --dryrun Dry run and debug operations this tool will perform
$ sudo ./scripts/util/migrate-dynamicroles.py
Apache CloudStack Role Permission Migration Tool
(c) Apache CloudStack Authors and the ASF, under the Apache License,
Version 2.0
Running this migration tool will remove any default-role rules in
cloud.role_permissions. Do you want to continue? [y/N]y
The commands.properties file has been deprecated and moved at:
/etc/cloudstack/management/commands.properties.deprecated
Static role permissions from commands.properties have been migrated into
the db
Dynamic role based API checker has been enabled!
## test_dynamicroles.py
=== TestName: test_default_role_deletion | Status : SUCCESS ===
=== TestName: test_role_account_acls | Status : SUCCESS ===
=== TestName: test_role_account_acls_multiple_mgmt_servers | Status :
SUCCESS ===
=== TestName: test_role_inuse_deletion | Status : SUCCESS ===
=== TestName: test_role_lifecycle_create | Status : SUCCESS ===
=== TestName: test_role_lifecycle_delete | Status : SUCCESS ===
=== TestName: test_role_lifecycle_list | Status : SUCCESS ===
=== TestName: test_role_lifecycle_update | Status : SUCCESS ===
=== TestName: test_role_lifecycle_update_role_inuse | Status : SUCCESS ===
=== TestName: test_rolepermission_lifecycle_create | Status : SUCCESS ===
=== TestName: test_rolepermission_lifecycle_delete | Status : SUCCESS ===
=== TestName: test_rolepermission_lifecycle_list | Status : SUCCESS ===
=== TestName: test_rolepermission_lifecycle_update | Status : SUCCESS ===
=== TestName: test_rolepermission_lifecycle_update_invalid_rule | Status :
SUCCESS ===
> User Definable Roles
> --------------------
>
> Key: CLOUDSTACK-8562
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8562
> Project: CloudStack
> Issue Type: New Feature
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Reporter: Paul Angus
> Assignee: Rohit Yadav
>
> Static command.properties moved to database and made user definable
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)