rhtyd commented on a change in pull request #2222: CLOUDSTACK-10022: Allow 
domain admin to create and delete subdomains
URL: https://github.com/apache/cloudstack/pull/2222#discussion_r134098578
 
 

 ##########
 File path: setup/db/db/schema-41000to41100.sql
 ##########
 @@ -19,6 +19,10 @@
 -- Schema upgrade from 4.10.0.0 to 4.11.0.0
 --;
 
+--CLOUDSTACK-10022: Allow domain admin to create and delete subdomains
+INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, `rule`, 
`permission`, `sort_order`) values (UUID(), 3, 'createDomain', 'ALLOW', 303) ON 
DUPLICATE KEY UPDATE rule=rule;
 
 Review comment:
   @GabrielBrascher sort order might be different for each environment, please 
allow the roles in the API cmd classes, in the `@APICommand` annotation, there 
is a `authorized` field you can use.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to