rhtyd commented on issue #41: Project View and Actions
URL: 
https://github.com/apache/cloudstack-primate/issues/41#issuecomment-566114340
 
 
   Hi @utchoang cc @svenvogel - thanks for the screenshots. 
   
   1. The accounts tab looks good to me and the pagination as well. The project 
level action/button to add user to a project also looks good. However, the 
invitation needs to be implemented as a different top-level view (or maybe in 
additional to the tab) because a user who will get a project invitation won't 
be able to see the tab or invitation. Therefore, please implement a button in 
the main project list view which when clicked can show a modal/pop-up which can 
show this tab, i.e. list all the project invitations and allow a user to 
list/delete/update the project invitation.
   
   2. Only the project admin maybe shown the tab/ability to add/remove and 
become the project owner. A project admin can add other accounts using the 
addAccountToProject API, and similarly can list and delete accounts from a 
project. For this, the best way would be to see how's it's done in the old UI 
(see for reference if this helps - 
https://github.com/apache/cloudstack/blob/master/ui/scripts/projects.js#L469). 
The API permission, i.e. which user type is allowed to calls the API is granted 
via CloudStack roles where we define a role to have rules/permissions that says 
which APIs are allowed or not. All accounts belong to a role. Let me know if 
you've further questions or have I confused you already?
   
   3. See (1.), the project invitations can be shown and implemented as a 
action component (modal/pop-up) that simply lists all the invitations for the 
user/account and allow user/account to delete and update an invitation.
   
   Other requests - maybe if we can show a badge (similar to global 
notifications) to show number of available/pending invitations for a user.
   
   Let me know if you've any questions or need any further clarification.
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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