[ https://issues.apache.org/jira/browse/AIRAVATA-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16542354#comment-16542354 ]
ASF subversion and git services commented on AIRAVATA-2835: ----------------------------------------------------------- Commit 71a6e8ddbb9b7c2958d5a14530722b702f8f577f in airavata-django-portal's branch refs/heads/master from [~marcuschristie] [ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=71a6e8d ] AIRAVATA-2835 Fixing some regressions in AutocompleteTextInput > Django: Create generic sharing dialog for sharing with users and groups > ----------------------------------------------------------------------- > > Key: AIRAVATA-2835 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2835 > Project: Airavata > Issue Type: Bug > Reporter: Marcus Christie > Assignee: Marcus Christie > Priority: Major > > Develop a UI component that displays summary information about what users and > groups an entity is shared with. UI component should also have a button to > bring up a modal dialog to edit the list of users and groups and their > permissions (READ or WRITE). > Other requirements: > * hide the Admins and Read Only Admins groups (these are specified in > GatewayGroups). These groups are implicitly shared with and shouldn't be > listed. > * only allow the current user to edit the sharing if the user is the owner of > the entity > * have an option to pre-populate the sharing list with a the > defaultGatewayUsersGroup (also from GatewayGroups). This will be used for > Group Resource Profile and Application Deployments. > TODO > * [x] button with a badge with the number of shared users/groups and tooltip > with more details > * [x] modal dialog - load list of users and groups and allow searching over > them > * [x] modal dialog - display users and groups currently shared with along > with permission level > * [x] hide the Admins and Read Only Admins groups (these are specified in > GatewayGroups). These groups are implicitly shared with and shouldn't be > listed. > * [ ] only allow the current user to edit the sharing if the user is the > owner of the entity > * [x] have an option to pre-populate the sharing list with a the > defaultGatewayUsersGroup (also from GatewayGroups). This will be used for > Group Resource Profile and Application Deployments > * [x] have an option to persist immediately or not (or just use existence of > entity id). For newly created entities the sharing dialog should not try to > update the sharing information since there is no entity yet. That should be > left for the containing page to 1) save the new entity, 2) fetch the > SharedEntity for that entity id, 3) merge it with the SharedEntity model that > was edited by the ShareButton component, 4) persist the updated SharedEntity. > Would be good to have some sort of utility to handle this updating of the > SharedEntity when a new entity is created. -- This message was sent by Atlassian JIRA (v7.6.3#76005)