nvazquez opened a new pull request #2236: CLOUDSTACK-10044: Update role 
permission
URL: https://github.com/apache/cloudstack/pull/2236
 
 
   JIRA TICKET: https://issues.apache.org/jira/browse/CLOUDSTACK-10044
   
   ### Introduction
   This feature allows to change permission for existing role permissions, as 
those were static and could not be changed once created. It also provides the 
ability to change these permissions in the UI using a drop down menu for each 
permission rule, in which admin can select ?Allow? or ?Deny? permission.
   
   ### Changes in the API:
   This feature modifies behaviour of `updateRolePermission` API method: 
   - New optional parameters ?ruleid? and ?permission? are introduced, they are 
mutual exclusive to ?ruleorder? parameter. This defines two use cases:
      - Update role permission: ?ruleid? and ?permission? parameters needed
      - Update rules order: ?ruleorder? parameter needed
   - Parameter ?ruleorder? is now optional
   - updateRolePermission providing ?ruleorder? parameter should be sent via 
POST
   
   ### Changes in the UI:
   Drop down menu added for role rule-permissions as seen in attached picture
   
![](https://issues.apache.org/jira/secure/attachment/12881210/UpdateRolePermissionUI.jpg
 "UI")
 
----------------------------------------------------------------
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